1.2.0 • Published 10 years ago

string-bundle v1.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
10 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

10 years ago

1.1.9

10 years ago

1.1.8

10 years ago

1.1.7

10 years ago

1.1.6

10 years ago

1.1.5

10 years ago

1.1.4

10 years ago

1.0.4

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago