1.16.1 • Published 3 months ago

bare v1.16.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
3 months ago

Bare

Small and modular JavaScript runtime for desktop and mobile. Like Node.js, it provides an asynchronous, event-driven architecture for writing applications in the lingua franca of modern software. Unlike Node.js, it makes embedding and cross-device support core use cases, aiming to run just as well on your phone as on your laptop. The result is a runtime ideal for networked, peer-to-peer applications that can run on a wide selection of hardware.

npm i -g bare

Usage

bare [flags] <filename> [...args]

Evaluate a script or start a REPL session if no script is provided.

Arguments:
  <filename>            The name of a script to evaluate
  [...args]             Additional arguments made available to the script

Flags:
  --version|-v          Print the Bare version
  --eval|-e <script>    Evaluate an inline script
  --print|-p <script>   Evaluate an inline script and print the result
  --inspect             Activate the inspector
  --help|-h             Show help

The specified <script> or <filename> is run using Module.load(). For more information on the module system and the supported formats, see https://github.com/holepunchto/bare-module.

When imported, the module exports the global Bare namespace. See https://github.com/holepunchto/bare#api for the API documentation.

const Bare = require('bare')

Credits

The bare package name on npm was kindly donated by the folks at Accosine.

License

Apache-2.0

1.16.1

3 months ago

1.16.0

3 months ago

1.15.1

4 months ago

1.15.0

5 months ago

1.14.0

5 months ago

1.13.1

5 months ago

1.13.0

5 months ago

1.12.3

6 months ago

1.12.2

6 months ago

1.12.1

7 months ago

1.11.2

7 months ago

1.12.0

7 months ago

1.11.1

7 months ago

1.11.0

7 months ago

1.10.1

8 months ago

1.10.0

8 months ago

1.9.1

8 months ago

1.8.2

9 months ago

1.9.0

9 months ago

1.8.1

9 months ago

1.6.3

9 months ago

1.8.0

9 months ago

1.7.1

9 months ago

1.7.0

9 months ago

1.9.3

8 months ago

1.9.2

8 months ago

1.6.2

9 months ago

1.6.1

9 months ago

1.6.0

10 months ago

1.5.0

10 months ago

1.4.1

11 months ago

1.2.3

12 months ago

1.3.0

12 months ago

1.2.2

1 year ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago