A simple code snippet manager for developers built with TypeScript & React.
The aim of this project is to make us more efficient by offering a pretty cool tool - a kind of notepad for our code.
$ npm install -g js-spec-note
Otherwise adding before comands npx
$ npx js-spec-note serve
Running server on port 4005
and created notebook.js
file in current folder.
$ js-spec-note serve
Save changes in specified file. By default created notebook.js
file in current folder.
$ js-spec-note serve
Create first-note.js
file in notes folder.
$ js-spec-note serve notes/first-note.js
This command not created a folders, only files.
Running server on a specified port. By default running on port 4005
.
$ js-spec-note serve
Running server on port 3000
.
$ js-spec-note serve --port 3000
Display help for commands. Get help for serve command.
$ js-spec-note --help serve
Open in browser http://localhost:4005 (by default) to edit the file.
All changes will be saved in notebook.js file in current folder (by default).
Using show()
function for the render react element!
show(<h1>Hi there!</h1>);
The project consists of multiple packages. For managing this project using Lerna tool.
For install dependencies use the next command.
$ lerna bootstrap