npm.io
1.0.11 • Published 4 years ago

lib-idgen

Licence
ISC
Version
1.0.11
Deps
2
Size
6 kB
Vulns
1
Weekly
0

albertId Library

This is a private ID generation library for MoleculeEngineering and the package details and how we can extend and configure it will be explained below.

What is albertId library?

It is an albert Id generation library, which generates sequential id for a category from input.

Installation

Node.js

lib-albertid is available on npm. To install it, type:

$ npm install --save-dev @moleculeengineering/lib-albertid

Usage

Import the library in your code, and then pick generate to generate token:

Pre-Native Modules Usage (as local variables)
const AlbertId = require("@moleculeengineering/lib-albertid");
let albertId = await AlbertId.generate(tenantId, entity, categoryId)

api-company (https://github.com/MoleculeEngineering/api-company) api-inventory (https://github.com/MoleculeEngineering/api-inventory)

Contributors

Geetha Selvaraj