Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

billy-inflector

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

billy-inflector

Pluralize, singularize, capitalize, classify, and so on..

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Billy Inflector Build Status

Pluralize, singularize, capitalize, classify, and so on..

Primarily extracted from Billy Data.

Usage

Node JS

var inflector = require('billy-inflector');
console.log(inflector.pluralize('computer'));

API

Pluralize

Pluralize a string based on added rules and common patterns.

Example
inflector.pluralize('entry'); //-> entries

Singularize

Singularize a string based on added rules and common patterns.

Example
inflector.singularize('fixes'); //-> fix

Classify

Classify a string.

Example
inflector.classify('accessLevel'); //-> AccessLevel

Capitalize

Capitalize a string.

Example
inflector.capitalize('watch'); //-> Watch

FAQs

Package last updated on 14 Nov 2013

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc