Skip to content

A CLI to launch an interactive development environment for writing and documenting code

Notifications You must be signed in to change notification settings

aykutulis/jnotebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JNotebook

This is an interactive coding environment. You can write Javascript, see it executed, and write comprehensive documentation using markdown.

  • Click any text cell to edit it
  • The code in each code editor is all joined together into one file. If you define a variable in cell #1, you can refer to it in any following cell!
  • You can use any library in npm by importing it
  • You can show any React component, string, number, or anything else by calling the show function. This is a function built into this environment. Call show multiple times to show multiple values
  • Re-order or delete cells using the buttons on the top right
  • Add new cells by hovering on the divider between each cell

All of your changes get saved to the file you opened JNotebook with. So if you ran npx jnotebook serve test.js, all of the text and code you write will be saved to the test.js file.

Command Options

-p, --port <number>

npx jnotebook serve jnotebook.js -p 5000
# or
npx jnotebook serve jnotebook.js --port 5000
# or
npx jnotebook serve -p 5000
# or
npx jnotebook serve --port 5000

# Default port = 4005
# Default file name = notebook.js

About

A CLI to launch an interactive development environment for writing and documenting code

Resources

Stars

Watchers

Forks

Packages

No packages published