1.10.0 • Published 3 years ago
jsnotenow v1.10.0
jsnotenow CLI
Document your JS code snippets and React components using jsnotenow CLI.
jsnotenow (see Github below)
jsnotenow on NPM
jsnotenow on NPM
Download and install
1 From the terminal navigate to a local folder where you want your notes to be stored and then run "npx jsnotenow serve".
2 Launch your browser and navigate to http://localhost:4005
3 Click 'Text' to document your notes and/or click 'Code' to enter your code.
4 Your notes and code are automatically saved to the local folder.
5 To return where you left off simple follow steps 1 and 2 and continue documenting.
Sample code
1 Use built in show() function to preview results
function sum(a,b){
return a + b
show(sum(1,3))
2 Similarly you can show simple React components directly using show() function.
const App = () => <h1>Hello World</h1>
show(App)
Technologies
:coffee: React
:coffee: TypeScript
:coffee: NodeJS
:coffee: ExpressJS
:coffee: ESBuild