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)
Related Projects
api-company (https://github.com/MoleculeEngineering/api-company) api-inventory (https://github.com/MoleculeEngineering/api-inventory)
Contributors
Geetha Selvaraj