0.0.5 ā€¢ Published 5 years ago

makeuid v0.0.5

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

šŸ“‘ makeuid

npm.io Snyk badge bundlephobia badge bundlephobia badge

āœ”ļø Tiny utility to generate a unique id based on date and time

npm i makeuid --save

Usage

import { makeuid, randStr } from 'makeuid'
// or
var { makeuid, randStr } = require('makeuid')

Or include it via jsDelivr CDN:

<script src="https://cdn.jsdelivr.net/npm/makeuid@0.0.5/index.min.js"></script>
mk.makeuid() // 2019I10P30T13n33v35

Methods & Examples

  • makeuid() : String
makeuid() // 2019I10P30T13n33v35
  • randStr(length : number) : String
randStr(5) // gJisd

License

MIT

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago