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.
Run it in your project's root directory with
npx pkgzap-cli
npm install pkgzap
import { getFundingDetails } from "pkgzap";
const fundingInfo = getFundingDetails();
console.log(JSON.stringify(fundingInfo, null, 2))
import { fetchFundingInfo } from "pkgzap";
const fundingInfo = fetchFundingInfo(packageJsonData); // depth is defaulted to 1
console.log(JSON.stringify(fundingInfo, null, 2))
yarn install
yarn run dev
And for styling:
npx tailwindcss -i ./src/input.css -o ./src/index.css --watch
yarn install
yarn run build