8.0.0 • Published 8 years ago
neuron-module-builder v8.0.0
neuron-module-builder
Usage
var builder = require('neuron-module-builder');
builder(file, options, callback)
.on('warn', function(message){
console.warn(message);
});
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
8.0.0
8 years ago
7.2.1
8 years ago
7.2.0
8 years ago
7.1.2
8 years ago
7.1.1
8 years ago
7.1.0
8 years ago
7.0.5
8 years ago
7.0.4
8 years ago
7.0.3
8 years ago
7.0.2
8 years ago
7.0.1
8 years ago
7.0.0
8 years ago
6.2.0
8 years ago
6.1.6
8 years ago
6.1.5
8 years ago
6.1.4
8 years ago
6.1.3
8 years ago
6.1.2
8 years ago
6.1.1
8 years ago
6.1.0
8 years ago
6.0.1
8 years ago
6.0.0
8 years ago
5.1.3
8 years ago