a web-based interactive development environment for javascript notebooks
npm package
·
Report Bug
·
Request Feature
Table of Contents
Reactypter is a web-based interactive development environment for javascript notebooks, code, and MD. Reactypter is flexible: configure and arrange the user interface to support a wide range of workflows in web development. Reactypter is extensible and modular: write plugins that add new components and integrate with existing ones.
To get a local copy up and running follow these simple example steps.
To build the site for development:
- Open terminal
- Run
npm i -g reactypter
to install the package - After installing, Run
npx reactypter serve
to start the notebook - Go to localhost:4005 (By default, It starts at port 4005)
- you can change the port to 1000 for example by doing so
npx reactypter serve -p 1000
ornpx reactypter serve --port 1000
ornpx reactypter serve --port=1000
- After finishing writing your notebook, you will find
notebook.js
file in the directory you started at
- You can change the saved-file name simply by stating the desired name in npx command. For example if you want it to be
proj.js
you will runnpx reactypter serve proj.js
- You can import any npm library inside your cells
- As an alternative to
console.log
, You can show the value of any variable in the preview screen by usingshow
function. For exmaple if you haveconst x=5;
and you want to show it, you'd writeshow(x)
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Install Node.js and npm
- Fork & Clone the Project
- Run
npm install
in the root folder - Run
npm start
- it should now parallel start different packages - Now go to
packages/cli/dist
and runnode index.js serve
to launch the editor - It will start on port 4005 by default
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/hanaffi/reactypter