Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
editable-cli
Advanced tools
editable-cli
Local notebooks written in pure javascript, with the same live-relaod functionality as Observable!
Install editable-cli
, (npm install -g editable-cli
) create new file editable-test.js
and run editable-cli ./editable-test.js
.
Create few cells using def
global function (try saving the file between each edit to see live updates):
def("a", 10)
- defines cell a
to equal to 10
def("b", 20)
- defined cell b
to equal to 20
def("sum", (a, b) => a + b)
- defines sum
to be sum of a
and b
, changing either of those cells will result in updated sum
valueCurrently edited file is watched for changes, and frontend automatically refreshes (without full-page reloads) while keeping the cell state intact (unless that cell was changed).
More examples in examples
directory.
Named by Peter van Hardenberg.
I like the idea of notebooks, but I also really like my text editor.
editable-cli
allows me to have both.
It was also fun getting to know observable/notebook-runtime.
npm install -g editable-cli
editable-cli ./file.js
FAQs
command line notebooks powered by observablehq
We found that editable-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.