Socket
Socket
Sign inDemoInstall

arctor

Package Overview
Dependencies
70
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    arctor

A CommonJS module dependency mapper and graphing tool.


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Install size
8.88 MB
Created
Weekly downloads
 

Readme

Source

Arctor

A CommonJS module dependency mapper and graphing tool.

This is still a WIP (in some ways). Depending on where you scanning from and the specified targets, things might not work as expected. Also, I started using this with nodejs based projects, so there may be (or is) unexpected behaviour that is not covered.

CLI Installation

npm install -g arctor
arctor -h

Scanning Dependencies

You can scan multiple targets with the CLI, by:

arctor dir file.js dir2 ...

This will output a JSON data object (to be documented..).

WTF?! Examples?

Indeed!

git clone https://github.com/brentlintner/arctor.git
cd arctor/demo
arctor lib test

Graph It!

You can generate a visual graph of the dependencies.

arctor -g lib

Using The Library On Its Own

npm install arctor

You can require it as so (exports lib/arctor.js):

var arctor = require('arctor');

..to be documented.

Hacking

git clone https://github.com/brentlintner/arctor.git && cd arctor
./configure
jake -T

Contributions

If you find this useful in any way, and have an issue or contribution, feel free to open pull request or create an issue on github.

Code Guidelines

  • 4 spaces per editor tab.
  • No style check errors (jake lint).
  • Tests (jake test) are green.
  • ASI is tolerated (for funsies..).

Brought To You By

FAQs

Last updated on 11 Mar 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc