1.0.0 • Published 5 years ago

jiange1-npmtest v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

npmtest

A Node.js module that returns the plural form of any noun

Installation

npm install npmtest --save
yarn add npmtest
bower install pluralize --save

Usage

Javascript

var pluralise = require('npmtest');
var boys = pluralise.getPlural('Boy');
Output should be 'Boys'

TypeScript

import { getPlural } from 'npmtest';
console.log(getPlural('Goose'))
Output should be 'Geese'

AMD

define(function(require,exports,module){
  var pluralise = require('npmtest');
});

Test

npm run test