1.2.0 • Published 3 years ago
ghake-jsnote v1.2.0
Getting Started
Running Published App
- Install globally
npm install -g ghake-jsnote
- Preferred way
ghake-jsnote serve
- Or use npx
npx ghake-jsnote serve
- A notebook will be either created or opened depending on where you launched the app for
CLI Options
The main command is serve
If we just run the main command, we will either open or create a file called notebook.js
ghake-jsnote serve
- Filename
ghake-jsnote serve test.js
- Make sure you use a .js file
- It will create a file in the directory you are in
- If you already have a file created it will open it
- You can designate the folder in the serve command
- Folder/file must exist
- Port
ghake-jsnote serve --port 4008
ghake-jsnote serve -p 4008
- Combination
- You can combine the filename and port in any order
ghake-jsnote serve test.js --port 4008
ghake-jsnote serve -p 4008 test/test.js