0.9.0 • Published 8 years ago

mako-text v0.9.0

Weekly downloads
14
License
MIT
Repository
github
Last release
8 years ago

mako-text

A mako analyze plugin that reads files as plain text.

npm version npm dependencies npm dev dependencies build status coverage

Usage

This plugin is used for reading files that are plain text.

var mako = require('mako');
var text = require('mako-text');

mako()
  .use(text('js'))
  .build('./index.js')
  .then(function () {
    // done!
  });

API

text(extensions)

The extensions argument can be passed as either a single String or an Array of extensions. (without the leading dot)

Effects

For each file processed, this will read the file from disk. It will set file.raw as a raw buffer, then will set file.contents as a string.

0.9.0

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.7.0

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago