1.1.14-alpha.0 • Published 3 years ago

@frontendgoodies/code-sandbox v1.1.14-alpha.0

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

Local live js/md editor

This is an interactive cell based coding environment that allows you to create JS see it and execute it and/or write MD live in your local browser and save it in you current cli directory.

JS code cells are all joined together into one file, defining a variable in the first cell allows you to refer it in the ones below it.

Re-order cells using the buttons on the top right

Add new cells by hovering on the divider between the cells

How to run it?

Run the app directly on your local machine by running npx @frontendgoodies/code-sandbox serve

Options/Params

  • port: --port=xxxx || --port xxxx
  • filename: by just passing a name and optionally a .js extension(passing a filename that you have previously edited will open that file instead and populate cells with those values so this allows you to continue where you left off); Default filename value: notebook.js
Example:
npx @frontendgoodies/code-sandbox serve sample.js --port 5000

Internal helpers

show function allows you to render any react component, string, number, objects

1.1.14-alpha.0

3 years ago

1.1.13

3 years ago

1.1.12

3 years ago

1.1.11

3 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago