nanoid
nanoid copied to clipboard
A NanoID implementation for Deno
Partial fix for #4 Based test cases from https://github.com/ai/nanoid Added argument guards for customRandom to prevent misuse. run tests with `deno test`
usage in README doesn't work as displayed: ```shell error: TS1192 [ERROR]: Module '"https://deno.land/x/[email protected]/mod.ts"' has no default export. ``` to fix just add curly brackets, like: ```typescript import { nanoid }...
I'm not very sure if this is the one you are referring to, but very likely!
Seems like a small typo can break the project https://github.com/ianfabs/nanoid/issues/1 Tests could present regression like this.