npm.io
0.0.6 • Published 10 years agoCLI

bootstrappie

Licence
MIT
Version
0.0.6
Deps
17
Vulns
0
Weekly
0

Bootsrappie

I find it easiest to package all Java Script applications as es6 modules. Bootstrappie helps me do this in a few ways:

There are multiple way to use boostrappie.

... within an npm script


{

  "script":{
    "run-script":"bootstrappie <module path> --arg1=val1 --arg2=val2"
  }
}

... within a compiled applications

Here, bootstrappie runs

import bootstrappie from "bootstrappie";
const args = ...;
const application = ...;
const result = boostrappie(application, args);