js-interpreter-npm
v1.0.10
Published
NPM package for Neil Fraser's JS-Interpreter
Downloads
81
Readme
NPM package for Neil Fraser's JS Interpreter
This is an NPM version of the JS interpreter by NeilFraser.
Usage
In node:
const Interpreter = require('js-interpreter-npm')
const acorn = require('js-interpreter-npm/acorn') // If you need acorn directly
In the browser (usage is identical to using js-interpreter directly):
<script src="acorn.js"></script>
<script src="interpreter.js"></script>