is-singular
v1.0.0
Published
Return true if given word is in singular form like `apple`, `car`, `test` and false otherwise, never throws.
Downloads
48
Readme
is-singular
Return true if given word is in singular form like
apple
,car
,test
and false otherwise, never throws.
Install
npm i is-singular --save
npm test
Usage
For more use-cases see the tests
var isSingular = require('is-singular')
isSingular('car') //=> true
isSingular('cars') //=> false
isSingular(123) //=> false
isSingular({a: 'b'}) //=> false
Related
- detect-installed: Checks that given package name is installed locally (in current… more
- is-plural: Returns true if the given english word is pluralized.
- is-missing: Check that given
name
oruser/repo
exists in npm registry… more - is-installed: Checks that given package is installed on the system -… more
- is-kindof: Check type of given javascript value. Support promises, generators, streams,… more
- is-ansi: Check that given string contain ANSI color codes, without CLI
- pluralize: Pluralize and singularize any word
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.