Skip to content

lagden/hex-id

Repository files navigation

@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