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
.