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

make the -nodejs suffix configureable #2

Closed
zeke opened this issue Jun 30, 2016 · 3 comments
Closed

make the -nodejs suffix configureable #2

zeke opened this issue Jun 30, 2016 · 3 comments

Comments

@zeke
Copy link

zeke commented Jun 30, 2016

I need a tool just like this for use on an electron project, but the -nodejs suffix will get in the way.

I could just replace() the output, but an option to specify the suffix in this lib would be nice.

@sindresorhus
Copy link
Owner

Are you aware Electron already exposes paths through app.getPath()?

@zeke
Copy link
Author

zeke commented Jun 30, 2016

Yes. I want to access these directories outside of an electron process.

@sindresorhus
Copy link
Owner

sindresorhus commented Jun 30, 2016

Alright, PR welcome then :) The suffix is there to ensure Node.js modules will never conflict with native apps of the same name. Having an option would be a good way to make that clear too.

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

No branches or pull requests

2 participants