Skip to content

Tiny Unique ID generator (Less than 400 bytes gzipped and bundled)

License

Notifications You must be signed in to change notification settings

tiaanduplessis/pico-uid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pico-uid

Tiny Unique ID generator


Table of Contents

Table of Contents
  • Install
  • Usage
  • Contribute
  • License
  • Install

    $ npm install pico-uid
    # OR
    $ yarn add pico-uid

    Usage

    const uid = require('pico-uid')
    
    uid(10) // Request UID with length of 10
    uid(5, 16) // Request UID with length of 5 using radix of 16 rather than default of 64

    Contributing

    Contributions are welcome!

    1. Fork it.
    2. Create your feature branch: git checkout -b my-new-feature
    3. Commit your changes: git commit -am 'Add some feature'
    4. Push to the branch: git push origin my-new-feature
    5. Submit a pull request :D

    Or open up a issue.

    License

    Licensed under the MIT License.

    About

    Tiny Unique ID generator (Less than 400 bytes gzipped and bundled)

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Packages

    No packages published