ractive-browserify

0.10.0 • Public • Published

ractive-browserify

Build Status npm install npm version License

Browserify transform for Ractive

usage

Use it as a browserify transform and require any file with .ract extension. Alternatively, specify your own extension via the extension option:

"transform": [
    ["ractive-browserify", {"extension": "html"}]
]

options

  • extension - A string specifying what file extension to parse. Defaults to "ract"

notes

Previous versions supported a justTemplate option, but newer Ractive parsing methods only output the template so it has been removed until otherwise necessary/supported.

why

The focus of ractive-transform is to keep releases up-to-date with Ractive, ideally same-day. This is accomplished by keeping the code and tests simple, requiring (in most cases) a simple version bump and re-publish. The idea currently is to keep major and minor version numbers in-sync with Ractive in order to make it easy to update alongside of it.

other options

There are plenty of other options for Ractive Browserify transforms, check them out if ractive-browserify doesn't tickle your fancy.

license

MIT

Package Sidebar

Install

npm i ractive-browserify

Weekly Downloads

0

Version

0.10.0

License

MIT

Unpacked Size

6.37 kB

Total Files

7

Last publish

Collaborators

  • jarofghosts