read-installed

WebJar for read-installed

License

License

ISC
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

read-installed
Last Version

Last Version

4.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

read-installed
WebJar for read-installed
Project URL

Project URL

http://webjars.org

Download read-installed

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/read-installed/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>read-installed</artifactId>
    <version>4.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/read-installed/
implementation 'org.webjars.npm:read-installed:4.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/read-installed/
implementation ("org.webjars.npm:read-installed:4.0.3")
'org.webjars.npm:read-installed:jar:4.0.3'
<dependency org="org.webjars.npm" name="read-installed" rev="4.0.3">
  <artifact name="read-installed" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='read-installed', version='4.0.3')
)
libraryDependencies += "org.webjars.npm" % "read-installed" % "4.0.3"
[org.webjars.npm/read-installed "4.0.3"]

Dependencies

compile (7)

Group / Artifact Type Version
org.webjars.npm : util-extend jar [1.0.1,2)
org.webjars.npm : debuglog jar [1.0.1,2)
org.webjars.npm : semver jar [2,3),[3,4),[4,5),[5,6)
org.webjars.npm : slide jar [1.1.3,1.2)
org.webjars.npm : readdir-scoped-modules jar [1.0.0,2)
org.webjars.npm : graceful-fs jar [4.1.2,5)
org.webjars.npm : read-package-json jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

read-installed

Read all the installed packages in a folder, and return a tree structure with all the data.

npm uses this.

2.0.0

Breaking changes in 2.0.0:

The second argument is now an Object that contains the following keys:

  • depth optional, defaults to Infinity
  • log optional log Function
  • dev optional, default false, set to true to include devDependencies

Usage

var readInstalled = require("read-installed")
// optional options
var options = { dev: false, log: fn, depth: 2 }
readInstalled(folder, options, function (er, data) {
  ...
})
org.webjars.npm

npm

node package manager

Versions

Version
4.0.3