Norwegian Parcel Mail

    get-dep-tree

    1.0.2 • Public • Published

    get-dep-tree Version Badge

    github actions coverage dependency status dev dependency status License Downloads

    npm badge

    Use npm's Arborist to get a dependency tree for a package.

    Example

    const getDepTree = require('get-dep-tree');
    const { Node } = require('@npmcli/arborist');
    const assert = require('assert');
    
    getDepTree().then((tree) => {
    	assert.ok(tree instanceof Node);
    });

    Install

    npm i get-dep-tree

    DownloadsWeekly Downloads

    17,263

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    13.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • ljharb