A handler for the webant module for text and html requires.
npm install webant-handler-text_Require text and HTML files with webant_
$ npm install webant-handler-text
Ensure the text handler is present in your webant configuration file. For example:
```json``
{
"entry":"src/js/main.js",
"dest":"build/main.js",
"handlers":["text"]
}
You may now require text or HTML files:
``javascript```
var html = require("../path/to/some.html");
var moreHtml = require("path/to/more.htm");
var text = require("foo.txt");
Ensure phantomjs is installed and in your PATH, then run:
$ npm test