@infotorg/mask-data-severity-levels
v1.0.0
Published
Infotorg mask data severity levels
Downloads
410
Readme
mask-data-severity-levels
Definitions of severity levels for masking data and shareable constants.
Installation
npm install @infotorg/mask-data-severity-levels
Usage
const {
MASK_DATA_SEVERITY_OPEN,
MASK_DATA_SEVERITY_PARTIAL,
MASK_DATA_SEVERITY_STRICT,
} = require('@infotorg/mask-data-severity-levels');
console.log(MASK_DATA_SEVERITY_OPEN); // open
console.log(MASK_DATA_SEVERITY_PARTIAL); // partial
console.log(MASK_DATA_SEVERITY_STRICT); // strict
Tests
Tests are written with jest
. They can be run with npm
:
npm run test