Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 311 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 311 Bytes

Execute javascript in your Inkdrop notes. Leverages npm's vm2 module to act as a secure sandbox when executing your javascript.

Install

ipm install runjs

Usage

```runjs
[1,2,3].map(number => number + 1)
```

Will be executed in a secure sandbox and rendered as:

[2, 3, 4]