Skip to content

SeniorIgor/JS-Spec-Note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) to edit 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>);

Advanced usage

The project consists of multiple packages. For managing this project using Lerna tool.

For install dependencies use the next command.

$ lerna bootstrap

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published