Socket
Book a DemoInstallSign in
Socket

cortex-neuron-builder

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cortex-neuron-builder

Wrap commonjs module/1.0 javascript files for [cortex](http://github.com/kaelzhang/cortex)

4.1.0
latest
Source
npmnpm
Version published
Weekly downloads
1
-50%
Maintainers
2
Weekly downloads
 
Created
Source

neuron-builder NPM version Build Status Dependency Status

Usage

var builder = require('neuron-builder');

builder(options).parse(file, callback)

builder(options)
.on('warn', function(message){
  console.warn(message);
})
.parse(file, callback);

arguments

  • options Object
    • pkg: mixed package json format of project
    • targetVersion: target version to build
    • cwd: current working directory
    • changedFile: the file has been changed. If it has no relations with the parsing file, an ENOTNEEDBUILD error will be thrown.
    • allowNotInstalled
  • file Path the parsing file

callback will get err and contents as its arguments, where contents is the wrapped result.

Keywords

neuron-builder

FAQs

Package last updated on 28 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.