needyou

0.2.4 • Public • Published

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.

Links

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.

Readme

Keywords

Package Sidebar

Install

npm i needyou

Weekly Downloads

5

Version

0.2.4

License

MIT

Unpacked Size

15.6 kB

Total Files

6

Last publish

Collaborators

  • youngoat