Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@yaas/id

1.0.0 • Public • Published

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!

Install

npm i @yaas/id

DownloadsWeekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

1.37 kB

Total Files

3

Last publish

Collaborators

  • avatar