fccc-constants
a module to manage constants across fccc projects
Installation
npm i @betaquick/fccc-constants
Usage
Javascript
const constants = require('@betaquick/fccc-constants');
const admin = constants.UserTypes.Admin;
console.log(admin);
// Output should be 'Administrator'
TypeScript
import { constants } from '@betaquick/fccc-constants';
console.log(constants.UserTypes.Admin);
// Output should be 'Administrator'
Test
npm run test