g45t345rt/minifaker

Add non-secure nanoid functions

IanVS opened this issue · 1 comments

IanVS commented

For my application, I don't need actual secure ids, and nanoid exports a "non-secure" version that is supposedly faster. Maybe you'd consider supporting those as well? If no, I can always just add nanoid directly, so not a big deal either way, just thought I'd suggest it.

I've added the non-secure version.

You can access it like this

import { nonsecure } from 'minifaker'
nonsecure.nanoid()