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

@anypay/cli

v0.3.5

Published

Anypay Enterprise Payments Platform CLI

Downloads

4

Readme

anypay-cli

Anypay Enterprise Payments Platform CLI

anypay Version CircleCI Downloads/week License

Usage

$ npm install -g @anypay/cli
$ anypay-cli COMMAND
running command...
$ anypay-cli (--version)
@anypay/cli/0.3.5 darwin-arm64 node-v18.18.2
$ anypay-cli --help [COMMAND]
USAGE
  $ anypay-cli COMMAND
...

Commands

anypay-cli help [COMMANDS]

Display help for anypay-cli.

USAGE
  $ anypay-cli help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for anypay-cli.

See code: @oclif/plugin-help

anypay-cli invoice create

Request Payment for a Specific Coin to a Single Address

USAGE
  $ anypay-cli invoice create -v <value> [-w <value>] [-r <value>] [-m <value>]

FLAGS
  -m, --memo=<value>          Memo to be displayed in supported wallets
  -r, --redirect_url=<value>  URL to redirect paying user in the web checkout
  -v, --value=<value>         (required) Amount to collect in terms of denomination
  -w, --webhook_url=<value>   URL to send invoice update webhook events

DESCRIPTION
  Request Payment for a Specific Coin to a Single Address

EXAMPLES
  $ anypay-cli request simple --chain MATIC --currency USDC --denomination=USD --amount=52.00 --address=0xA77547a3fB82a5Fa4DB408144870B69c70906989

See code: src/commands/invoice/create.ts

anypay-cli login

Authenticates with an anypay server and save your account access tokens

USAGE
  $ anypay-cli login [-e <value>] [-p <value>] [-a <value>]

FLAGS
  -a, --api=<value>       [default: https://api.anypayx.com] API Base URL
  -e, --email=<value>     Existing Anypay Account Email Address
  -p, --password=<value>  Anypay Account Password

DESCRIPTION
  Authenticates with an anypay server and save your account access tokens

EXAMPLES
  $ anypay-cli login [email protected]

See code: src/commands/login.ts

anypay-cli logout

Removes account access tokens from local config file

USAGE
  $ anypay-cli logout

DESCRIPTION
  Removes account access tokens from local config file

EXAMPLES
  $ anypay-cli logout

See code: src/commands/logout.ts

anypay-cli request simple

Request Payment for a Specific Coin to a Single Address

USAGE
  $ anypay-cli request simple -a <value> -c <value> -v <value> -t <value> [-d <value>] [-w <value>] [-r <value>] [-m
    <value>] [-u <value>] [-k <value>]

FLAGS
  -a, --asset=<value>         (required) BSV, DASH, USDC, etc
  -c, --chain=<value>         (required) BSV, MATIC, SOL, etc
  -d, --denomination=<value>  [default: USD] USD, EUR, JPY, CNY, etc
  -k, --apikey=<value>        Anypay API Key
  -m, --memo=<value>          Memo to be displayed in supported wallets
  -r, --redirect_url=<value>  URL to redirect paying user in the web checkout
  -t, --to=<value>            (required) Address or script to receive payment
  -u, --url=<value>           URL of Anypay API for Self-Hosting or Development
  -v, --value=<value>         (required) Amount to collect in terms of denomination
  -w, --webhook_url=<value>   URL to send invoice update webhook events

DESCRIPTION
  Request Payment for a Specific Coin to a Single Address

EXAMPLES
  $ anypay-cli request simple --chain MATIC --currency USDC --denomination=USD --amount=52.00 --address=0xA77547a3fB82a5Fa4DB408144870B69c70906989

See code: src/commands/request/simple.ts

anypay-cli subscribe app

Subscribe to Event Stream for a Specific Anypay App

USAGE
  $ anypay-cli subscribe app -t <value> [-w <value>]

FLAGS
  -t, --auth_token=<value>     (required) Auth token for your anypay app (such as wallet bot app, etc)
  -w, --websocket_url=<value>  [default: wss://wss.anypayx.com] URL of Anypay websocket server to connect

DESCRIPTION
  Subscribe to Event Stream for a Specific Anypay App

EXAMPLES
  $ anypay-cli subscribe app --auth_token=YOUR_AUTH_TOKEN | jq

See code: src/commands/subscribe/app.ts

anypay-cli subscribe invoice

Request Payment for a Specific Coin to a Single Address

USAGE
  $ anypay-cli subscribe invoice -v <value> [-w <value>] [-r <value>] [-m <value>]

FLAGS
  -m, --memo=<value>          Memo to be displayed in supported wallets
  -r, --redirect_url=<value>  URL to redirect paying user in the web checkout
  -v, --value=<value>         (required) Amount to collect in terms of denomination
  -w, --webhook_url=<value>   URL to send invoice update webhook events

DESCRIPTION
  Request Payment for a Specific Coin to a Single Address

EXAMPLES
  $ anypay-cli request simple --chain MATIC --currency USDC --denomination=USD --amount=52.00 --address=0xA77547a3fB82a5Fa4DB408144870B69c70906989

See code: src/commands/subscribe/invoice.ts