1.1.8 • Published 3 years ago

js-gallery v1.1.8

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

JavaScript Gallery (CLI Component)

JavaScript Gallery is a browser-based application for writing, executing, rendering, and documenting JavaScript and JSX snippets.

This package represents the CLI Component, which is the entrypoint into the JavaScript Gallery application. It starts up an instance of the Local API Component with the arguments (e.g. filename) specified by the user. The Local API Component in turn serves up the compiled assets for the Local Client Component and handles the file-based persistence of any number of JavaScript galleries that the user creates and maintains.

The application is started from the command line as follows:

$> npx js-gallery serve

This wll start the application with the following defaults:

Parameter NameFlagDefault ValueComment
filenameN/Ajs-gallery.jsMust include a *.js extension. Can include path as well.
port-p or --port4005Must be a valid port number, not already in use.

Therefore, the command specified above is equivalent to the following command:

$> npx js-gallery serve js-gallery.js -p 4005

npm.io

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

1.1.0

3 years ago