-
Notifications
You must be signed in to change notification settings - Fork 95
Export _getTmpName for temporary file name creation #5
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
Conversation
Export _getTmpName for temporary file name creation
I would love to merge it if you could provide some tests. Could you do them? |
Sure I can, but I actually did not change any of your base library code - |
Yes, but since it's exported the API should not be changed and therefore a test is needed. |
Done. |
We probably should bump the version after this. |
Thank you, wonderful! Yes, absolutely, we need to bump the version. |
Export _getTmpName for temporary file name creation fixes #5
Export _getTmpName for temporary file name creation fixes #5
Hello there,
I am currently working on a module for node.js that runs an external process - this external process needs to get passed a file name to store its results in (until I read them from there and delete that file).
Currently I am using
require('tmp').tmpdir
and generate the file name myself, but your_getTmpName
method does exactly this, so I would love to reuse it. Would it be possible to include it in the exports?Cheers,
Joscha