js-spec-note v1.0.2
JS Spec Note
A simple code snippet manager for developers built with TypeScript & React.
Overview
The aim of this project is to make us more efficient by offering a pretty cool tool - a kind of notepad for our code.
Install
$ npm install -g js-spec-noteOtherwise adding before comands npx
$ npx js-spec-note serveCommands
serve
Running server on port 4005 and created notebook.js file in current folder.
$ js-spec-note serveserve [filename]
Save changes in specified file. By default created notebook.js file in current folder.
$ js-spec-note serveCreate first-note.js file in notes folder.
$ js-spec-note serve notes/first-note.jsThis command not created a folders, only files.
serve -p, --port <number>
Running server on a specified port. By default running on port 4005.
$ js-spec-note serveRunning server on port 3000.
$ js-spec-note serve --port 3000help
--help [command]
Display help for commands. Get help for serve command.
$ js-spec-note --help serveUsage
Open in browser http://localhost:4005 (by default) for editing the file.
All changes will be saved in notebook.js file in current folder (by default).
show()
Using show() function for the render react element!
show(<h1>Hi there!</h1>);