Usage
var builder = ; ;
builder(filename, options, callback)
- filename
String
the pathname of the entry file to be parsed from - options
Object
- pkg:
Object
mixed package json format of project - cwd:
String
current working directory - compilers:
Object|Array.<Object>
- allow_implicit_dependencies:
Boolean
whether allows implicit dependencies. If true and a dependency is not found inpkg
, it will be treated as the latest version.
- pkg:
- callback
function(err, content)
callback
will get err
, contents
and parsed
as its arguments, where:
- err
Error
- content
String
the parsed content