JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 172
  • Score
    100M100P100Q84863F
  • License MIT

Generate random and potentially unique ids.

Package Exports

  • idy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (idy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

idy

idy Support this project

Generate random and potentially unique ids.

Installation

$ npm i --save idy

Example

// Dependencies
var Idy = require("idy");

console.log(Idy());
// => k5goo82pv0

console.log(Idy(20));
// => gfmruywoe3uie3680l54

Documentation

Idy(length)

Generates a random id and potentially unique.

Params

  • Number length: The id length (default: 10).

Return

  • String The generated id.

How to contribute

Have an idea? Found a bug? See how to contribute.

Where is this library used?

If you are using this library in one of your projects, add it in this list. ✨

License

MIT © Ionică Bizău