emberjs/ember-inflector

Possible to use in Node?

samselikoff opened this issue · 1 comments

I'm trying to use esm in my addon, so I'm converting over some stuff that previously relied on Ember to using npm packages.

Currently my addon uses

import { singularize, pluralize } from 'ember-inflector';

which works in the browser but not in node.

Is is possible to get at singularize and pluralize from Node?

For anyone ending up here, and without comparing the two modules further, take a look at https://github.com/martinandert/inflected, which works directly in browser and node.