0.0.2 • Published 7 years ago
hw-form v0.0.2
hw-form
Hashworks Forms
Installation
npm install hw-form --save
yarn add hw-form
bower install pluralize --saveUsage
Javascript
var pluralise = require('hw-form');
var boys = pluralise.getPlural('Boy');Output should be 'Boys'TypeScript
import { getPlural } from 'hw-form';
console.log(getPlural('Goose'))Output should be 'Geese'AMD
define(function(require,exports,module){
var pluralise = require('hw-form');
});Test
npm run test