1.0.0 • Published 5 years ago

@yaas/id v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Id

This is a package that can give you random, short bits of text. You can also get only a small bit of it with the length parameter!

npm install @yaas/id

In app.js

const createID = require('@yaas/id');

const id_string = createID(4);

console.log(id_string);
// => qpe0

If you choose a length longer than the original string, it will automatically return the correct length!