Public | Automated Build

Last pushed: 17 hours ago
Short Description
A https://www.dependencies.io collector for npm dependencies.
Full Description

collector-js-npm




A dependencies.io
collector for collecting npm
dependencies using npm or yarn.

Usage

Use the collector path to indicate which directory your npm files are located.
Works with either npm or yarn depending on whether there is a yarn.lock file.
Runs npm@5 so it also supports package-lock.json. npm shrinkwrap is not
currently supported.

If you don't use package-lock.json or yarn.lock, then it is recommended that you
--save-exact versions of your dependencies. Otherwise every time this runs,
it will simply install the new available versions in your range instead of
reporting them back as newer versions than what you have installed currently
(which could then be given to actors).

dependencies.yml

collectors:
- type: js-npm
  path: /  # directory where package.json / yarn.lock / package-lock.json are located
  settings:
    node_env: production  # if you only care about production dependencies
  actors:
  - ...

Works well with

Resources

Support

Any questions or issues with this specific actor should be discussed in GitHub
issues
. If there is
private information which needs to be shared then you can instead use the
dependencies.io support.

Docker Pull Command
Owner
dependencies

Comments (0)