Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.08 KB

README.md

File metadata and controls

63 lines (44 loc) · 1.08 KB

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