Replying to Avatar hzrd149

nostr:npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226 I thought I would take it one step further. now there is a vite plugin to let the app access the list of dependencies looking for funding

https://www.npmjs.com/package/vite-plugin-funding

if you add "fundingPlugin({ types: ["lightning"] })" to your vite plugins it will expose a "virtual:funding" module in the app that has a directory of all packages with the "lightning" funding type

nostr:nevent1qvzqqqqqqypzph0s8t9gtt0q88n8gt2mau7lx5klrxws6v0z9wv93eld4pwt8wa7qy88wumn8ghj7mn0wvhxcmmv9uq3qamnwvaz7tm99ehx7uewd3hkctcqyqx4a85rtq3npmmlk5zz9sdf2dlqy7w98qk9j3djck65r5m6vrzl5hg7tnm

Seems like “npm fund” only picks up projects with http urls in the funding field… maybe I’ll need to parse the tree on my own in the end

Reply to this note

Please Login to reply.

Discussion

No replies yet.