RepoPilot

ai / nanoid

Search ai/nanoid

GitHub

Get started

From the repository's own files at c0d01e30b0ec. Commands have not been executed.

Prerequisites

Commands

package.json
TaskRunWhat it runs
startpnpm run startvite --host 0.0.0.0 test/demo/
testpnpm run testpnpm run /^test:/

Install and use

README.md
npm install nanoid

CDN

For quick hacks, you can load Nano ID from CDN. Though, it is not recommended to be used in production because of the lower loading performance.

import { nanoid } from "https://cdn.jsdelivr.net/npm/nanoid/nanoid.js";

Open README.md