Giter Site home page Giter Site logo

jankoegel / pkgzap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getalby/pkgzap

0.0 0.0 0.0 2.77 MB

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

Home Page: https://getalby.github.io/pkgzap/

JavaScript 51.68% TypeScript 6.17% CSS 41.15% HTML 0.99%

pkgzap's Introduction

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

pkgzap's People

Contributors

im-adithya avatar bumi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.