🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

is-singular

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-singular - npm Package Compare versions

Comparing version
0.0.0
to
1.0.0
+7
-0
CHANGELOG.md
## 1.0.0 - 2015-06-29
- Release v1.0.0 / npm@v1.0.0
- add keywords
- update description
- add related section
- implement :blush:
## 0.0.0 - 2015-06-29
- first commits
+22
-4
{
"name": "is-singular",
"version": "0.0.0",
"description": "Return true if given word is in singular form like `apple`, `car`, `test` and etc.",
"version": "1.0.0",
"description": "Return true if given word is in singular form like `apple`, `car`, `test` and false otherwise, never throws.",
"repository": "tunnckoCore/is-singular",

@@ -13,3 +13,3 @@ "author": "Charlike Mike Reagent <@tunnckoCore> (http://www.tunnckocore.tk)",

"dependencies": {
"pluralize": "^1.1.2"
"pluralize": "~1.1.2"
},

@@ -19,3 +19,21 @@ "devDependencies": {

},
"keywords": []
"keywords": [
"check",
"english",
"form",
"grammar",
"inflect",
"lang",
"language",
"plural",
"pluralize",
"singular",
"singularize",
"test",
"tool",
"util",
"validate",
"word",
"words"
]
}
# is-singular [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url]
> Return true if given word is in singular form like `apple`, `car`, `test` and etc.
> Return true if given word is in singular form like `apple`, `car`, `test` and false otherwise, never throws.

@@ -20,7 +20,22 @@ [![code climate][codeclimate-img]][codeclimate-url] [![standard code style][standard-img]][standard-url] [![travis build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![dependency status][david-img]][david-url]

var isSingular = require('is-singular')
isSingular('car') //=> true
isSingular('cars') //=> false
isSingular(123) //=> false
isSingular({a: 'b'}) //=> false
```
## Related
- [detect-installed](https://github.com/tunnckoCore/detect-installed): Checks that given package name is installed locally (in current… [more](https://github.com/tunnckoCore/detect-installed)
- [is-plural](https://github.com/jonschlinkert/is-plural): Returns true if the given english word is pluralized.
- [is-missing](https://github.com/tunnckocore/is-missing): Check that given `name` or `user/repo` exists in npm registry… [more](https://github.com/tunnckocore/is-missing)
- [is-installed](https://github.com/tunnckoCore/is-installed): Checks that given package is installed on the system -… [more](https://github.com/tunnckoCore/is-installed)
- [is-kindof](https://github.com/tunnckocore/is-kindof): Check type of given javascript value. Support promises, generators, streams,… [more](https://github.com/tunnckocore/is-kindof)
- [is-ansi](https://github.com/tunnckocore/is-ansi): Check that given string contain ANSI color codes, without CLI
- [pluralize](https://github.com/blakeembrey/pluralize): Pluralize and singularize any word
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/is-singular/issues/new).

@@ -27,0 +42,0 @@ But before doing anything, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) guidelines.