Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to use in Node? #151

Open
samselikoff opened this issue Jul 1, 2018 · 1 comment
Open

Possible to use in Node? #151

samselikoff opened this issue Jul 1, 2018 · 1 comment

Comments

@samselikoff
Copy link
Contributor

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?

@oskarrough
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants