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

qiwi-p2p

v0.1.1-a

Published

A module for node.js to interact with Qiwi Wallet's P2P System Api.

Downloads

6

Readme

node-qiwi-p2p

A module for node.js to interact with Qiwi Wallet's P2P System Api.

Still in alpha

node-qiwi-p2p design features:
  • Object-oriented
  • 99.9% coverage of the Qiwi Wallet P2P API
Example:
const { Client } = require('qiwi-p2p');

const qiwi = new Client({
  keys: { public: 'your api public key', secret: 'your api secret key' }
});

qiwi.bills
  .create('BILL_NO3', {
    amount: { currency: 'USD', value: 100 },
    comment: 'Custom Comment',
    customer: { account: 'Customer Account' },
    remaining: 4.32e7, // Remaining time in milliseconds
    customFields: { themeCode: 'My Theme Code' }
  })
  .then(bill => bill.poll())
  .then(bill => {
    console.log('Bill finished. New status:', bill.status.value);
  });

Links

GitHub NPM

Contributing Steps

  1. Fork & clone the repository, and make sure you're on the master branch
  2. Write some code
  3. Submit a pull request (Make sure you follow the conventional commit format)

Commit convention

This is adapted and inspired by discord.js's commit convention.

Messages must be matched by the following regex:
/^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,72}/;
Examples

Appears under "Features" header, Bill subheader:

feat(Bill): add 'poll' method

Appears under "Bug Fixes" header, BillManager subheader, with a link to issue #2:

fix(BillManager): create bills validate options correctly

close #2

Appears under "Performance Improvements" header, and under "Breaking Changes" with the breaking change explanation:

perf(Route): improve route handling by removing hash handling

BREAKING CHANGE: Route hashes were removed

The following commit and commit 667ecc1 do not appear in the changelog if they are under the same release. If not, the revert commit appears under the "Reverts" header.

revert: feat(Managers): add Managers

This reverts commit 667ecc1654a317a13331b17617d973392f415f02.
Full Message Format

A commit message consists of a header, body and footer. The header has a type, scope and subject:

<type>(<scope>): <subject>
<BLANK LINE>

<body>
<BLANK LINE>
<footer>

The header is mandatory and the scope of the header is optional.

Revert

If the commit reverts a previous commit, it should begin with revert:, followed by the header of the reverted commit. In the body, it should say: This reverts commit <hash>., where the hash is the SHA of the commit being reverted.

Type

If the prefix is feat, fix or perf, it will appear in the changelog. However, if there is any BREAKING CHANGE, the commit will always appear in the changelog.

Other prefixes are up to your discretion. Suggested prefixes are docs, chore, style, refactor, and test for non-changelog related tasks.

Subject

The subject contains a succinct description of the change:

  • use the imperative, present tense: "change" not "changed" nor "changes"
  • don't capitalize the first letter
  • no dot (.) at the end

Body

Just as in the subject, use the imperative, present tense: "change" not "changed" nor "changes". The body should include the motivation for the change and contrast this with previous behavior.

Footer

The footer should contain any information about Breaking Changes and is also the place to reference GitHub issues that this commit Closes.

Breaking Changes should start with the word BREAKING CHANGE: with a space or two newlines. The rest of the commit message is then used for this.