Skip to content

jsdelivr/all-the-package-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

all-the-package-types

Maintained by jsDelivr. Please consider becoming a sponsor to support us.

A list of all the @types packages on npm with metadata. Updated daily.

Installation

npm install all-the-package-types

Usage

The module exports an array of package names:

const types = require("all-the-package-types")

// [
//   {
//     "p": "https://github.com/11ty/eleventy-img", <= the matching library repository, if detected
//     "l": "@11ty/eleventy-img", <= the matching library name, if detected
//     "t": "11ty__eleventy-img" <= the "@types" package name
//   },
//   ...
// ]

CLI Usage

You can also use it on the command line. Newline-delimited packages are piped to STDOUT:

npm i -g all-the-package-types
all-the-package-types | grep spell

Tests

npm install
npm test

Dependencies

None

Dev Dependencies

  • all-the-package-repos: Normalized repository URLs for every package in the npm registry.
  • tap-spec: Formatted TAP output like Mocha's spec reporter
  • tape: tap-producing test harness for node and browsers

License

MIT