Download next.js/test/e2e/app-dir/actions/app/client/actions-lib.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/actions/app/client/actions-lib.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/actions/app/client/actions-lib.js
-
curl -L -o actions-lib.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/actions/app/client/actions-lib.js
204 Bytes
| 'use server' | |
| // Any arbitrary library just to ensure it's bundled. | |
| // https://github.com/vercel/next.js/pull/51367 | |
| import { nanoid } from 'nanoid' | |
| export async function test() { | |
| console.log(nanoid) | |
| } | |