ng-core/projects/id-generator
Denis Ezhov 815e47f0c0
FRONTEND-604: fix publish (#4)
* fix: fix publish

* fix: fix publish 1

* fix: fix publish 2

* Publish

 - @rbkmoney/id-generator@0.1.1-pr4.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-07 15:49:28 +03:00
..
src fix: tests fix? 2021-06-04 11:28:04 +03:00
.gitignore fix: recreate project with lerna commands 2021-06-03 22:12:58 +03:00
.npmrc fix: npmrc 2021-06-02 21:39:21 +03:00
CHANGELOG.md Publish 2021-06-07 12:19:36 +00:00
karma.conf.js fix: tests fix?? 2021-06-04 12:13:18 +03:00
ng-package.json FRONTEND-604: fix publish (#3) 2021-06-07 15:34:41 +03:00
package-lock.json FRONTEND-604: fix publish (#4) 2021-06-07 15:49:28 +03:00
package.json FRONTEND-604: fix publish (#4) 2021-06-07 15:49:28 +03:00
README.md FRONTEND-604: fix publish (#4) 2021-06-07 15:49:28 +03:00
tsconfig.lib.json fix: recreate project with lerna commands 2021-06-03 22:12:58 +03:00
tsconfig.lib.prod.json fix: recreate project with lerna commands 2021-06-03 22:12:58 +03:00
tsconfig.spec.json initial commit 2021-06-01 20:20:46 +03:00

ID Generator

The library for ID generation.

Installation

npm i --save @rbkmoney/id-generator

Full details in the monorepo root README.md

Usage

  • Inject service to your service
import { IdGeneratorService } from '@rbkmoney/id-generator';

constructor(private idGenerator: IdGeneratorService) {}
  • Call the methods you want
const uuid = this.idGenerator.uuid();

const shortUuid = this.idGenerator.shortUuid();

Contributing

Full details in the monorepo root README.md