1.0.2 • Published 3 years ago

js-spec-note v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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-note

Otherwise adding before comands npx

$ npx js-spec-note serve

Commands

serve

Running server on port 4005 and created notebook.js file in current folder.

$ js-spec-note serve

serve [filename]

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.

serve -p, --port <number>

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

help

--help [command]

Display help for commands. Get help for serve command.

$ js-spec-note --help serve

Usage

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>);
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago