dhis2-uid

[![Build Status](https://travis-ci.org/dhis2/dhis2-uid.svg?branch=master)](https://travis-ci.org/dhis2/dhis2-uid) [![NPM Version](https://img.shields.io/npm/v/dhis2-uid.svg?style=flat)](https://www.npmjs.com/package/dhis2-uid) [![NPM Downloads](https://im

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
dhis2-uid
110.1.25 years ago5 years agoMinified + gzip package size for dhis2-uid in KB

Readme

dhis2-uid
Build Status NPM Version NPM Downloads
Small library for generating valid DHIS2 UIDs.

Installation

$ npm install dhis2-uid --save

Example usage

const {generateCode, generateCodes} = require('dhis2-uid');
console.log(generateCode());
console.log(generateCodes(10));

License

BSD-3-Clause