npm i js-diary
npx js-diary serve
Run this command and navigate to https://localhost:4050
Now you have a live code editor running in your browser 🎉
Useful for small code snippets and trying NPM packages
displayfunction is a function built in this environment. Call
displaymultiple times to display multiple values.
All of your changes get saved to a file you opened js-diary with. If you run
npx js-diary serve notebook.js then all your code and text will be saved to a file named notebook.js
By default, the name of the file is notes.js
Currently the file gets saved in JSON format ( Working on saving it in JS Format in future release )
Raise an Issue if you find any bugs/got ideas.
Thanks for reading! ⭐ Dont forget to star the Repository ⭐