New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

neuron-graph

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neuron-graph

Dependency Handler, Graph Parser and Simplifier for CommonJs Modules

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

neuron-graph NPM version Build Status Dependency Status

Generate neuron config graph from package/shrinkwrap.

Install

$ npm install neuron-graph --save

Usage

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

graph(pkg, {
   shrinkwrap: shrinkwrap_object_if_already_have_one,
   dependencyKeys: ['dependencies', 'asyncDependencies']
}, function(err, g) {

});

Options

cwd {string=}

Current work directory for search 'cortex-shrinkwrap.json'.

built_root {string}

Directory where to find installed packages.

shrinkwrap {Object=}

Shrinkwrap object

dependencyKeys {Array.=}

Dependencies will parse during the processing. Default is ['dependencies', 'asyncDependencies']

stable_only {boolean=}

Pass to cortex-shrinkwrap. Default is false.

ignore_shrink_file {boolean=}

Always regenerate shrinkwrap object even cortex-shrinkwrap.json exists. Default is false.

Licence

MIT

Keywords

FAQs

Package last updated on 25 Aug 2015

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc