Open JoshuaKGoldberg opened 1 year ago
ping @kevva - is this still something you're interested in maintaining?
Well, I ended up making https://github.com/JoshuaKGoldberg/npm-username-to-packages instead.
import { npmUsernameToPackages } from "npm-username-to-packages";
await npmUsernameToPackages("joshuakgoldberg");
Hi there - thanks for making this package! I've found it to be very handy. ❤️
Coming over from https://github.com/JoshuaKGoldberg/tidelift-me-up/issues/26 though: there's a dependency on a very old version of
got
: https://github.com/kevva/npm-user-packages/blob/aa001c2701ff59f15b6570578c5c27be8363171d/package.json#L30got
is a relatively heavy-weight library, with quite a few dependencies. Butnpm-user-packages
just uses it for a single JSON fetch request. Would you be open to usingfetch
natively, now that it's in Node (https://nodejs.org/dist/latest-v18.x/docs/api/globals.html)? I'd be happy to send a PR!