We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now if you have newman is installed in /node_modules you can't import as it is.
newman
/node_modules
var newman = require('newman'); // doesnt work var newman = require('src/Newman'); // works
I think it will be good if we add a index.js file in root folder exposing the Newman module so that its more intuitive to import.
index.js
Newman
Index.js
module.exports = require('./src/Newman');
This allows a simple import
var newman = require('newman');
Let me know if this makes sense and I can quickly push a fix. Will help us in writing a grunt plugin as well.
The text was updated successfully, but these errors were encountered:
Makes sense
Sorry, something went wrong.
440a4c5
Merge pull request #71 from prakhar1989/master
ba9ed2d
Added index.js for better library import - fixes #70
No branches or pull requests
Right now if you have
newman
is installed in/node_modules
you can't import as it is.I think it will be good if we add a
index.js
file in root folder exposing theNewman
module so that its more intuitive to import.Index.js
This allows a simple import
Let me know if this makes sense and I can quickly push a fix. Will help us in writing a grunt plugin as well.
The text was updated successfully, but these errors were encountered: