Package Exports
- cc-validate
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cc-validate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cc-validate
A typescript mod
Installation
npm install mypluralize --save
yarn add mypluralize
bower install pluralize --saveUsage
Javascript
var pluralise = require('mypluralize');
var boys = pluralise.getPlural('Boy');Output should be 'Boys'TypeScript
import { getPlural } from 'mypluralize';
console.log(getPlural('Goose'))Output should be 'Geese'AMD
define(function(require,exports,module){
var pluralise = require('mypluralize');
});Test
npm run test