small npm library for launching python workers and providing two way communication
npm install pynode --save
var pynode = require('pynode');
pynode.exec(filename, arguments);
var pynode = require('pynode');
pynode.exec(filename, arguments)
.then(function(data){
data = JSON.parse(data);
console.log(data);
})
.catch(function(err){
console.log(err)
})
- arguments are optional
please check examples directory for that.
npm test
- making it much better (still working)
- allowing user to run python code directly from their file
- filtering of inputs
- maybe add more test cases, to test thoroughly
- All kinds of suggestions are welcome.
- Collaboration also welcome to make it better or add more languages.
- Please take care to maintain the existing coding style.
- Add tests for any new functionalities.
- 0.2.0 Fixed some minor issues and bugs
- 0.1.0 Initial release