0.2.0 • Published 4 years ago
@toreda/map v0.2.0
@toreda/map
Simple TypeScript-first & typesafe API for dynamic configurations.
Contents
Install
With yarn (preferred):
yarn add @toreda/map
With NPM:
npm install @toreda/map
Usage
Library Usage
Typescript
import { Map } from '@toreda/map';
Node
const Map = require('@toreda/map');
Build
Build or rebuild the package:
With Yarn (preferred):
yarn install
yarn build
With NPM:
npm install
npm run-script build
Testing
@toreda/map
implements unit tests using jest. Run the following commands from the directory where @toreda/map
has been installed.
With yarn (preferred):
yarn install
yarn test
With NPM:
npm install
npm run-script test
License
MIT © Toreda, Inc.