Skip to content
forked from getAlby/pkgzap

⚡️ View funding information of your dependencies and tip them via lightning

Notifications You must be signed in to change notification settings

jankoegel/pkgzap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkgzap

An easy way to get the funding details of all the dependencies used in your project and send satoshis. Uses the metadata provided by package registries to fetch information about each dependency's funding sources.

🚀 Quick Start

pkgzap-cli

Run it in your project's root directory with

npx pkgzap-cli

See more here

pkgzap

npm install pkgzap

getFundingDetails

import { getFundingDetails } from "pkgzap";

const fundingInfo = getFundingDetails();

console.log(JSON.stringify(fundingInfo, null, 2))

fetchFundingInfo

import { fetchFundingInfo } from "pkgzap";

const fundingInfo = fetchFundingInfo(packageJsonData); // depth is defaulted to 1

console.log(JSON.stringify(fundingInfo, null, 2))

See more here

🛠 Development

Landing Page

yarn install
yarn run dev

And for styling:

npx tailwindcss -i ./src/input.css -o ./src/index.css --watch

lib and cli

yarn install
yarn run build

About

⚡️ View funding information of your dependencies and tip them via lightning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.6%
  • CSS 41.2%
  • TypeScript 6.2%
  • HTML 1.0%