[Pkg-javascript-devel] New pkg-js-tools tool

Xavier yadd at debian.org
Thu Dec 3 13:46:08 GMT 2020


Hi all,

I prepared a little tool to parse npm registry. It displays:
 * Debian dependencies (using `apt-file search` for now)
 * missing modules (recursively)

Do you think it is useful ?

A little example to see output:

$ pkgjs-depends ava
DEPENDENCIES:
  node-ansi-styles
  node-anymatch
  node-arrify
  node-boxen
  node-chalk
  node-chokidar
  node-ci-info
[...]

MISSING:
ava
 └── @concordance/react (2.0.0)
 └── arrgv (1.0.2)
 └── chunkd (2.0.1)
 └── ci-parallel-vars (1.0.1)
 └── code-excerpt (3.0.0)
     └── convert-to-spaces (1.0.2)
 └── common-path-prefix (3.0.0)
 └── concordance (5.0.1)
     └── fast-diff (1.2.0)
     └── js-string-escape (1.0.1)
     └── well-known-symbols (2.0.0)
 └── equal-length (1.0.1)
 └── figures (3.2.0)
 └── is-error (2.2.2)
 └── ora (5.1.0)
     └── is-interactive (1.0.0)
     └── log-symbols (4.0.0)
     └── wcwidth (1.0.1)
 └── p-event (4.2.0)
 └── pkg-conf (3.1.0)
 └── supertap (1.0.0)
     └── serialize-error (2.1.0)
 └── temp-dir (2.0.0)
 └── trim-off-newlines (1.0.1)
 └── update-notifier (4.1.3)
     └── has-yarn (2.1.0)
     └── is-installed-globally (0.3.2)
         └── global-dirs (2.0.1)
     └── is-yarn-global (0.3.0)
     └── pupa (2.1.1)
         └── escape-goat (2.1.1)



More information about the Pkg-javascript-devel mailing list