Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 600 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 600 Bytes

Running Python VM in NodeJS

Installation

Install node-gyp with npm

$ npm install -g node-gyp

You will also need to install:

  • On Unix(Ubuntu):
    • sudo apt-get install python-dev
  • On Mac OS X:
    • brew install python

Examples

How to run

$ node-gyp configure
$ node-gyp build
$ node ./main.js

or

npm run build && npm test
Result of sys.getrecursionlimit() = 1000
Result of sys.getrefcount(0) = 1
Result of pow(2, 3) = 8

Tested on OSX and Ubuntu

✨✨✨✨✨✨