8.0.0 • Published 8 years ago

neuron-module-builder v8.0.0

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

Build Status

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 in pkg, it will be treated as the latest version.
  • 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