Skip to content

Glossary: JavaScript in the Browser

nanoid

A small npm package that generates random IDs. In a Vite project it can be imported by name, because the bundler finds it in `node_modules`.

Where the book teaches it

Related terms

npmBundler