Fetches any packages associated with an npm username. π¨
npm i npm-username-to-packages
import { npmUsernameToPackages } from "npm-username-to-packages";
await npmUsernameToPackages("joshuakgoldberg");
/*
[
{
"name": "ts-api-utils",
...
}
]
*/
See the .d.ts
TypeScript types for a description of the package data.
Josh Goldberg β¨ π» π π π€ π π§ π π§ |
π This package was templated with
create-typescript-app
.