exec-engine-js

0.0.8 • Public • Published

#readme

An easy way to execute Javascript source code made up of strings.

import { rawRun } from 'exec-engine-js'
let exec = rawRun(strings)

example.

import { rawRun } from 'exec-engine-js'

let strings = "let a = 30 \n return a"
let exec =  rawRun(strings)
console.log(exec) // 30
console.log(typeof exec) //number

If you have any bugs or requests, please contact us https://github.com/imamiya-masaki/engine-js-test

Readme

Keywords

none

Package Sidebar

Install

npm i exec-engine-js

Weekly Downloads

7

Version

0.0.8

License

MIT

Unpacked Size

20.5 kB

Total Files

5

Last publish

Collaborators

  • imamiya-masaki