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

flowledger-dapp

v1.0.1

Published

FlowLedger - Daily Transaction Tracker for Stacks

Downloads

555

Readme

FlowLedger 🚀

License: MIT PRs Welcome npm

FlowLedger Logo

A lightweight dApp to track daily expenses and income, securely storing transaction summaries on-chain via Stacks.

Table of Contents

Features

  • 🔗 Leather Wallet Integration — Connect your Stacks wallet and submit transactions on-chain
  • 📊 Spending Analytics — Doughnut chart showing income vs expenses breakdown
  • Quick Log — One-click buttons for common transactions (Coffee, Lunch, Salary, etc.)
  • 🔍 On-Chain Lookup — Read any transaction stored in the smart contract
  • 📜 Live Contract — Powered by a Clarity smart contract deployed on Stacks mainnet

Dependencies

This project uses the following ecosystem packages:

| Package | Description | |---------|-------------| | stacks-echo-kit | Lightweight utility toolkit for Stacks — STX formatting, address validation, tx helpers, API URL building | | @earnwithalee/flowledger-sdk | Internal SDK wrapping the FlowLedger smart contract interactions |

stacks-echo-kit Integration

FlowLedger uses stacks-echo-kit for:

  • STX ↔ microSTX conversion (stxToMicro, microToStx)
  • Address validation & formatting (isValidAddress, truncateAddress)
  • API URL building (buildApiUrl for Hiro node API)
  • Display formatting (formatStx, formatCompact)
const kit = require('stacks-echo-kit');

kit.microToStx(2500000);   // → 2.5
kit.formatStx(2.5);        // → "2.50 STX"
kit.isValidAddress("SP3AMZ74TRAWC92ZB110E38SZB7F1T06EHZ38QMH4"); // → true
kit.buildApiUrl("/extended/v1/tx", "mainnet");
// → "https://stacks-node-api.mainnet.stacks.co/extended/v1/tx"

Stacks April Event Requirements

To participate in the Stacks April event on Talent Protocol, ensure you meet the following:

  • Wallet Connection: Connect a Bitcoin L2 (Stacks-compatible) wallet to talent.app.
  • On-Chain Activity: Rewards are often based on verified on-chain contributions (smart contract deployments, transaction volume, etc.).
  • Open-Source Contribution: Maintain active GitHub contributions to your project repository.
  • Compliance: Ensure your wallet address is compliant with international regulations (non-OFAC SDN).
  • Submission: Monitor the Talent Protocol dashboard for specific "Builder Challenge" submission buttons or leaderboard entry requirements.

Project Structure

flowledger/
│
├── index.html              # Main application UI
├── style.css               # Global and component styles
├── app.js                  # Frontend logic & Wallet integration
│
├── contracts/              # Stacks Smart Contracts (Clarity)
│   └── transactions.clar   # Core logic for ledger entries
│
├── packages/
│   └── flowledger-sdk/     # Internal SDK (uses stacks-echo-kit)
│       ├── index.js
│       ├── utils.js
│       └── package.json
│
├── public/                 # Static assets (Logo, SDK bundle)
│   ├── logo.png
│   └── flowledger-sdk.js   # Browser-ready SDK bundle
│
├── package.json            # Project dependencies
└── README.md               # Documentation

Getting Started

Installation

npm install

Development

# Open index.html in your browser (or use a local server)
npx serve .

Local Development

  1. Clone repository
  2. Run npm install
  3. Install Leather Wallet browser extension
  4. Open index.html in your browser
  5. Connect your wallet and start tracking transactions

Roadmap

  • [x] Leather wallet integration
  • [x] On-chain transaction submission
  • [x] Spending analytics chart
  • [x] Quick log buttons
  • [x] On-chain transaction lookup
  • [x] stacks-echo-kit integration
  • [ ] Multi-wallet support
  • [ ] CSV export functionality
  • [x] Dark mode theme
  • [ ] Transaction history pagination

Built for the Stacks April Builder Challenge on Talent Protocol.