js-scribble
v3.0.2
Published
js-scribble is an interactive browser-based coding environment that allows you to write and execute JavaScript code in a notebook-like interface. It is similar to Jupyter Notebook but specifically designed for JavaScript programming. The environment utili
Downloads
4
Readme
js-scribble
js-scribble is an interactive browser-based coding environment that allows you to write and execute JavaScript code in a notebook-like interface. It is similar to Jupyter Notebook but specifically designed for JavaScript programming. The environment utilizes React and Redux to provide a seamless and enhanced coding experience.
Getting Started
To get started with the interactive browser-based coding environment, follow these steps:
- Run command
npx js-scribble @usonkar
in your terminal - No-need Install the necessary dependencies by running
npm install
oryarn install
anywhere in your projects. - Open your web browser and navigate to
http://localhost:4005
(or a different port if specified). - Begin coding and exploring the features of the environment!
Usage
We have the starter-running docs and sample code at http://localhost:4005
when command npx js-scribble @usonkar
is run on terminal.
- Default Command : Creates a run-time environment at
http://localhost:4005
and savesnotebook.js
file in the local directory where command is executed. This file will be automatically fetched with changes if command executed again.
$ npx js-scribble @usonkar
- Optional Command (port): We can provide port number in case there is a traffic on default port
4005
using--port [portnumber] or -p [portnumber] or --port=[portnumber]
.
$ npx js-scribble @usonkar --port 3000
- Optional Commnad (filename): We can provide another file name and it creates the file
test.js
in the directory.It can be fetched if same file name used again while executing in the terminal.
$ npx js-scribble @usonkar test.js --port 3000
Dependencies
The interactive browser-based coding environment relies on the following technologies:
- React: JavaScript library for building user interfaces.
- Redux: State management library for JavaScript applications.
No need to install these dependencies as they are inter-linked.
License
This project is licensed under the ISC License. Feel free to modify and distribute it as per the terms of the license.