1.0.0 • Published 1 year ago

@mrblunderovich/femtoid v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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"
1.0.0

1 year ago