@tadashi/hex-id

3.0.2 • Public • Published

@tadashi/hex-id

NPM version Build Status Coverage Status

Creates the unique ID based on the system time. (compatible with Mongo's ObjectID).

Install

$ npm i @tadashi/hex-id

Usage

This library can be used on the client or server side.

import hexID from '@tadashi/hex-id'


hexID()
// => 5c48b2d79b156cb4effe05c8

hexID()
// => 5c48b2d79b156cb4effe05c9

Team

Lagden

Donate ❤️

  • BTC: bc1q7famhuj5f25n6qvlm3sssnymk2qpxrfwpyq7g4

License

MIT © Thiago Lagden

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i @tadashi/hex-id

    Weekly Downloads

    137

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    5.36 kB

    Total Files

    4

    Last publish

    Collaborators

    • lagden