@mrblunderovich/femtoid
v1.0.0
Published
A primitive analog of nanoid made and published for educational purposes
Downloads
2
Readme
Femto ID
A primitive, insecure, verbose, not-very-unique string ID generator for JavaScript. It generates a string of 10 or more digits (0-9). Length of output string can be passed as an argument(10+). Uses Math.random().
Do not use it, use nanoid instead, it seems to be great.
import femtoid from "femtoid";
model.id = femtoid(); //=> "7871066939"