1.0.3 • Published 4 years ago

conflux-utils v1.0.3

Weekly downloads
7
License
ISC
Repository
github
Last release
4 years ago

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