npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dc-push-rank-api

v1.2.4

Published

DC Push Rank API wrapper for managing messages, channels, roles, and user interactions easily.

Downloads

15

Readme

FaucethubAPI

Unofficial module for Faucethub API

Constructor

    /**
     * @param api_key Faucethub API Key
     * @param currency A valid currency acronym
     */
    constructor (api_key, currency = 'BTC')

send

    /**
     * @description The method to send coins to an address
     * @param to The coin address you are sending to
     * @param amount The amount to send in satoshi
     * @param referral Set this value to true, 1, or simply leave it blank. Use it to indicate that this payout is a referral earning
     * @param ip_address Include the user's IP address to help contribute to the fight against bots and malicious users
     * @param callback The callback
     */
    public send(to, amount, referral, ip_address, callback)

getPayouts

    /**
     * @description The method to get the last few payouts you did, up to 10.
     * @param count A value between 1 and 10, defaults to 1
     * @param callback The callback
     */
    public getPayouts(count, callback)

getCurrencies

    /**
     * @description The method to get a list of all the currencies we support on our platform and their status
     * @param callback The callback
     */
    public getCurrencies(callback)

getBalance

    /**
     * @description The method to get your account balance in any supported currency
     * @param callback The callback
     */
    public getBalance(callback) 

checkAddress

    /**
     * @description The method to check if their currency address belongs to an account
     * @param address The coin address you checking
     * @param callback The callback
     */
    public checkAddress(address, callback)

Example

    const FaucethubAPI = require('faucethubapi');

	let faucethubapi = new FaucethubAPI('azertyuiopqsdfghjklmwxcvbn', 'DOGE')
	
	// Send 0.5 DOGE
	faucethub.send('DN2G517mi4snqc3eewBRLgdATVCfQwPQ6f', 50000000, false, "", (res) => {
       console.log(res);
    });