aboutsummaryrefslogtreecommitdiff
path: root/pkgs/postcss-plugins/find.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/postcss-plugins/find.sh')
-rwxr-xr-xpkgs/postcss-plugins/find.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/postcss-plugins/find.sh b/pkgs/postcss-plugins/find.sh
new file mode 100755
index 0000000..732fca1
--- /dev/null
+++ b/pkgs/postcss-plugins/find.sh
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+curl --globoff 'https://registry.npmjs.org/-/_view/byKeyword?startkey=["postcss-plugin"]&endkey=["postcss-plugin",{}]&group_level=2' \
+ | jq '.rows | map(.key | .[1])' > plugins.json
+