conflux-utils
v1.0.3
Published
Shared business logic between conflux projects
Downloads
12
Readme
conflux-utils
A Node.js module that has shared business logic of conflux projects.
Installation
npm install conflux-utils --save
yarn add conflux-utils
bower install conflux-utils --save
Example of Usage
Javascript
var conflux = require('conflux-utils');
var boys = conflux.getPlural('Boy');
Output should be 'Boys'
TypeScript
import { getPlural } from 'conflux-utils';
console.log(getPlural('Goose'));
Output should be 'Geese'
AMD
define(function (require, exports, module) {
var conflux = require('conflux-utils');
});
Test
npm run test