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

@easylabs/node

v0.1.1

Published

Easy Labs SDK for Node.js

Readme

Easy Node.js SDK

The Easy Node.js SDK provides a comprehensive, type-safe solution for server-side payment processing, customer management, and e-commerce functionality. Designed for Node.js applications, Express servers, Next.js API routes, and other backend environments.

📚 View Full Documentation & Examples →

Features

  • Customer Management - Create, update, and retrieve customer information
  • Payment Instruments - Securely handle cards and bank accounts
  • Transfers & Payments - Process payments and manage transfers
  • Products & Pricing - Manage products, prices, and subscriptions
  • Orders & Settlements - Track orders and handle settlements
  • Disputes - Manage payment disputes
  • Checkout - Complete checkout flows with line items
  • TypeScript-first API - Full type safety and IntelliSense support
  • Server-side Security - PCI-compliant payment processing

Installation

npm install @easylabs/node
# or
yarn add @easylabs/node
# or
pnpm add @easylabs/node

Quick Start

Basic Usage

import { createClient } from "@easylabs/node";

// Initialize the client
const easy = await createClient({
  apiKey: process.env.EASY_API_KEY,
});

// Create a customer
const customer = await easy.createCustomer({
  first_name: "John",
  last_name: "Doe",
  email: "[email protected]",
});

// Process a checkout
const order = await easy.checkout({
  customer_creation: false,
  identity_id: customer.data.id,
  source: "pi_123",
  line_items: [{ price_id: "price_abc", quantity: 2 }],
});

Express.js Integration

import express from "express";
import { createClient } from "@easylabs/node";

const app = express();
app.use(express.json());

const easy = await createClient({
  apiKey: process.env.EASY_API_KEY,
});

app.post("/api/customers", async (req, res) => {
  const customer = await easy.createCustomer(req.body);
  res.json(customer);
});

app.listen(3000);

📖 See complete examples and API reference in the full documentation

Core Features

Customer Management

Create and manage customer profiles with full CRUD operations.

Payment Processing

Handle payment instruments securely with tokenization and process transfers.

Product Catalog

Manage products, prices, and subscription plans for your e-commerce platform.

Checkout Flows

Complete checkout with line items, supporting both new and existing customers.

TypeScript Support

The SDK is built with TypeScript and provides comprehensive type definitions for all methods and data structures.

import type {
  CreateCustomer,
  CreateTransfer,
  CustomerData,
  ApiResponse,
} from "@easylabs/node";

Contributing & Support

For issues, questions, or contributions, please open an issue or pull request on GitHub.

License

ISC