🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
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

Return true if given word is in singular form like `apple`, `car`, `test` and false otherwise, never throws.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
4
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

is-singular npmjs.com The MIT License

Return true if given word is in singular form like apple, car, test and false otherwise, never throws.

code climate standard code style travis build status coverage status dependency status

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
  • 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 or user/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.

Charlike Make Reagent new message to charlike freenode #charlike

tunnckocore.tk keybase tunnckocore tunnckoCore npm tunnckoCore twitter tunnckoCore github

Keywords

check

FAQs

Package last updated on 29 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts