node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


A handler for the webant module for JSON requires.


Require JSON files with webant

$ npm install webant-handler-json

Ensure the json handler is present in your webant configuration file. For example:


You may now require JSON files:

var data = require("./path/to/data.json");


Ensure phantomjs is installed and in your PATH, then run:

$ npm test