1.0.1 • Published 9 years ago
mako-str2js v1.0.1
mako-str2js
A plugin that for converting text files to a require-able JS string.
Purpose
- enables text files to be
require'd as strings (via mako-js)
API
str2js(extensions)
The extensions argument can be passed as either a single String or an Array of extensions.
(without the leading dot)
The default list of extensions is:
txthtml