1.0.2 • Published 3 years ago

h5-ubid v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

h5-ubid

a JavaScript function for Create an unique user id within h5 browser then cache in localstorage.

Installation

You can use this package on the server side as well as the client side.

Node.js:

npm install h5-ubid

API

createUuid(message);
  • message -- String, Buffer, Array or Uint8Array
  • returns String

Usage

var createUuid = require("h5-ubid");

console.log(createUuid("message"));

This will print the following

78e731027d8fd50ed642340b7c9a63b3
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago