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

ember-inflector

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-inflector - npm Package Compare versions

Comparing version 1.3.1 to 1.5.0

addon/index.js

61

package.json
{
"name": "ember-inflector",
"version": "1.3.1",
"keywords": [
"ember-addon"
],
"devDependencies": {
"bower": "^1.3.8",
"broccoli": "^0.12.3",
"broccoli-concat": "0.0.7",
"broccoli-env": "0.0.1",
"broccoli-es3-safe-recast": "0.0.8",
"broccoli-es6-module-transpiler": "^0.5.0",
"broccoli-file-mover": "^0.4.0",
"broccoli-file-remover": "^0.2.2",
"broccoli-jshint": "^0.5.3",
"broccoli-merge-trees": "^0.1.4",
"broccoli-static-compiler": "^0.2.1",
"broccoli-transform": "^0.1.1",
"broccoli-uglify-js": "^0.1.3",
"broccoli-wrap": "0.0.2",
"ember-cli": "^0.1.3",
"es6-module-transpiler": "^0.9.5",
"es6-module-transpiler-package-resolver": "^1.0.1",
"matchdep": "^0.3.0",
"testem": "^0.6.17"
"version": "1.5.0",
"description": "ember-inflector goal is to be rails compatible.",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"start": "ember s",
"bower": "bower install",
"start": "ember server",
"build": "ember build",
"test": "testem ci -R dot"
"test": "ember test"
},
"repository": "",
"engines": {
"node": ">= 0.10.0"
},
"author": "Stefan Penner, Manuel Wiedenmann and Trace Wax",
"license": "MIT",
"devDependencies": {
"broccoli-asset-rev": "^2.0.0",
"ember-cli": "0.2.0",
"ember-cli-app-version": "0.3.2",
"ember-cli-babel": "^4.0.0",
"ember-cli-content-security-policy": "0.3.0",
"ember-cli-dependency-checker": "0.0.8",
"ember-cli-htmlbars": "0.7.4",
"ember-cli-ic-ajax": "0.1.1",
"ember-cli-inject-live-reload": "^1.3.0",
"ember-cli-qunit": "0.3.9",
"ember-cli-uglify": "1.0.1",
"ember-data": "1.0.0-beta.15",
"ember-export-application-global": "^1.0.2"
},
"keywords": [
"ember-addon"
],
"main": "addon/index.js",
"ember-addon": {
"main": "lib/ember-addon/index.js"
"configPath": "tests/dummy/config"
}
}
# Ember Inflector [![Build Status](https://travis-ci.org/stefanpenner/ember-inflector.png?branch=master)](https://travis-ci.org/stefanpenner/ember-inflector)
Ember Inflector is a library for inflecting words between plural and singular forms. Ember Inflector aims to be compatible with [ActiveSupport::Inflector](http://api.rubyonrails.org/classes/ActiveSupport/Inflector.htm) from Ruby on Rails, including the ability to add your own inflections in your app.
Ember Inflector is a library for inflecting words between plural and singular forms. Ember Inflector aims to be compatible with [ActiveSupport::Inflector](http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html) from Ruby on Rails, including the ability to add your own inflections in your app.

@@ -9,8 +9,6 @@ ## Installation

`npm install --save ember-inflector`
```
npm install --save ember-inflector
```
Bower:
`bower install --save ember-inflector`
## Usage

@@ -24,2 +22,5 @@

Inflector.inflector.singularize("tacos"); // taco
Inflector.inflector.pluralize("taco"); // tacos
singularize("tacos"); // taco

@@ -29,3 +30,3 @@ pluralize("taco"); // tacos

// or if not using Ember CLI/ES6
Ember.Inflector.pluralize("taco"); // taco
Ember.Inflector.inflector.pluralize("taco"); // tacos
```

Sorry, the diff of this file is not supported yet

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