-
-
Notifications
You must be signed in to change notification settings - Fork 25
Description
I've used npms's API before and enjoyed it.
https://api.npms.io/v2/search?q=keywords:eleventy-plugin+not:deprecated&size=250
We'll have to paginate+offset results if we expect more than 250 plugins since 250 is the max per-page allowed.
If we need more data from npm for a package, we can always use npm's own pacote.
But that might be a reasonable enough start and just refresh that via serverless every 24h or whatever.
Other metaphorical wrench in the plans is that everything npm related (from either API) would always just refer to an npm username, which means it might be trickier to display a list of an author's eleventy-plugins on their authors page; unless we try and maintain a lookup table between twitter/github/npm accounts.
Fun fact, I was starting to build an eleventy-plugins.dev style site at one point which was just going to deploy daily on a cron job.
The one feature I was working on but didn't get around to finishing was a list of keywords/tags or something to make it easier to search/filter by. For example, if I want an 11ty plugin for PWAs, it'd be nice to filter or just do a Ctrl+F on the page for some keywords. I did find a few packages have some weird keywords so I was working on a list of keywords I wanted to ignore (along w/ 11ty, eleventy, eleventy-plugin).