@betaquick/grace-tree-constants
v1.0.17
Published
a module to manage constants across grace tree projects
Downloads
23
Readme
grace-tree-constants
a module to manage constants across grace tree projects
Installation
npm i @betaquick/grace-tree-constants
Usage
Javascript
const constants = require('@betaquick/grace-tree-constants');
const general = constants.UserTypes.General;
console.log(admin);
// Output should be 'General'
TypeScript
import { constants } from '@betaquick/grace-tree-constants';
console.log(constants.UserTypes.General);
// Output should be 'General'
Test
npm run test