hacker-news-api-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

mypluralize

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

Installation

npm install example-package-for-ts --save
yarn add example-package-for-ts
bower install example-package-for-ts --save

Usage

Javascript

var pluralise = require('example-package-for-ts');
var boys = pluralise.getPlural('Boy');
Output should be 'Boys'

TypeScript

import { getPlural } from 'example-package-for-ts';
console.log(getPlural('Goose'))
Output should be 'Geese'

AMD

define(function(require,exports,module){
  var pluralise = require('example-package-for-ts');
});

Test

npm run test

Readme

Keywords

none

Package Sidebar

Install

npm i hacker-news-api-typescript

Weekly Downloads

5

Version

1.0.15

License

ISC

Unpacked Size

51.7 kB

Total Files

36

Last publish

Collaborators

  • goors