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 🙏

© 2026 – Pkg Stats / Ryan Hefner

venmojs

v0.0.3

Published

Venmo API wrapper for NodeJS

Readme

venmo-api

A NodeJS wrapper for the Venmo API.

Usage

Login

Call Venmo.login(username, password) with username and password to sign in, generate an access key, and automatically set it.

User Information

Call Venmo.getUserIDfromUsername to get the userID given a username. This userID is used when retrieving transactions or making payments.

Call Venmo.getUserInformation to get information about a user given a username. This information includes

  • id: The unique Venmo userID.
  • username: The username of the user.
  • name: The display name of the user.
  • dateJoined: The date the user joined Venmo.
  • profilePictureURL: The URL of the user's profile image.

Example:

{
  "id": "0123456789",
  "username": "pineapplelol",
  "name": "Pineapple Lol",
  "dateJoined": "2016",
  "profilePictureURL": "https://pineapple.lol/asset/fronz.png"
}

Transactions

Call Venmo.getTransactions with a userID to retrieve a list of transactions in the following format:

  • date: The date of the transaction.
  • note: The message of the transaction.
  • action: Typically charge or pay, for which the actor initiated to the target.
  • actor: The actor user (the one who charged or paid) with the following properties:
    • name: The name of the actor user.
    • username: The username of the actor user.
  • target: The target user (the one who was charged or paid) with the following properties:
    • name: The name of the target user.
    • username: The username of the target user.
{
  "date": "2018-04-29 4:23PM",
  "note": "Here are your fruit",
  "action": "pay",
  "actor": {
    "name": "Pineapple Lol",
    "username": "pineapplelol"
  },
  "target": {
    "name": "Apple Lol",
    "username": "applelol"
  }
}

Errors

Errors will be thrown if there are invalid credentials (or not passed), or if you hit Venmo's rate limit.

Example

import Venmo from "venmo-api";

await Venmo.login("pineapplelol", "pineapplesaregreat");

Venmo.getUserIDfromUsername("username")
  .then((id) => {
    return Venmo.getTransactions(id);
  })
  .then((transactions) => {
    console.log(transactions);
  })
  .then(() => {
    Venmo.logout();
  });