1.2.0 • Published 7 years ago

string-bundle v1.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

string-bundle

String-bundle takes an html file and renders it into a JavaScript file for exporting as a string template. String-bundle is intended to be used as a straightforward way of using html template files for JavaScript partial DOM rendering.

sudo npm install string-bundle -g

string-bundle template.html output.js

Advanced

string-bundle.json

{
  "modules": [
    {
      "input": "path/to/template.html",
      "output": "path/to/output.js"
    }
  ]
}

Then simply: string-bundle will compile all files listed in the "modules" section of the string-bundle.json file.

1.2.0

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.0.4

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago