New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

depa

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depa

To analyse code in package and generate dependencies info automatically.

latest
Source
npmnpm
Version
0.2.4
Version published
Maintainers
2
Created
Source

needyou, depa or yuan-dependencies-finder

needyou, formerly named as depa or yuan-dependencies_finder, is used to generate dependencies information of specified module under development.

  • See CHANGE LOG for notable changes.
  • Homepage

Get Started

API:

const needyou = require('needyou');
let dependencies = needyou('/path/to/package');

CLI:

needyou [--input <path/to/module>] [--save] [--miss]

# Old command name depa & yuan-dependencies-finder is still available.
  • --input
    Used to specify home directory of the module to be parsed.

  • --save
    Append the dependencies field to packge.json of the module. If the field existing, change it.

  • --miss
    If unable to obtain version of modules required by current module, use * as replacement.

The standard output looks like this:

[i] Finding javascript files ...
    1 javascript files found.
[i] Finding required modules ...
    /index.js +7
[i] Obtain version of required modules ...
    colors : ^1.1.2
    minimist : ^1.2.0
    uglify-js : ^2.6.2
    yuan : ^0.2.0

About

Since 0.2.0, new package name needyou is used.

Since 0.1.0, yuan-dependencies-finder is renamed to depa. While package installed, two commands named with both new package and old one will be installed.

Keywords

YUAN

FAQs

Package last updated on 26 Jul 2021

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