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 🙏

© 2025 – Pkg Stats / Ryan Hefner

g1-papi

v0.1.3

Published

A library for interacting with the [G1 duniter](https://duniter.org) API.\ Use [polkadot-api](https://papi.how) (papi) to interact with the Polkadot blockchain.\ Not ~~polkadot.js~~.

Readme

g1-papi 👴🏼

A library for interacting with the G1 duniter API.
Use polkadot-api (papi) to interact with the Polkadot blockchain.
Not ~~polkadot.js~~.

Features

  • ✨ Fully customized eslint configuration based on the config by Antfu
  • 🧪 Write tests quickly and conveniently with vitest
  • 🤝 Supports conventional commits
  • 💅 Generate beautiful changelogs with changelogen
  • ♾️ GitHub CI for your build
  • 📢 Issue templates
  • 📝 Pull request template
  • 🤖 Ready configuration for renovatebot with renovate-config
  • 🚀 Library releases with just one command

Get started

Install dependencies:

pnpm i

Start a local instance of Duniter:

pnpm duniter:start
pnpm duniter:sealing # with sealing mode

Run tests:

pnpm test:ui

It runs Vitest UI in standalone mode. Go to http://localhost:51204/vitest/ to watch live tests. Launch the tests, it will automatically restart duniter in sealing mode before running tests.

GitHub Template

This project is based on the template vite-vanilla-library-template.

Npm scripts

It uses pnpm as package manager.

  • dev - Start the development server
  • build - Build for production
  • release - Generate changelog and npm publish
  • lint - Checks your code for any linting errors
  • test - Run all tests
  • test:ui - Run all tests with UI
  • test:watch - Run all tests with watch mode
  • test:coverage - Run all tests with code coverage report
  • papi - Generate types from local instance of Duniter
  • prepare - Script for setting up husky hooks
  • duniter:start - Start a local instance of Duniter
  • duniter:sealing - Start a local instance of Duniter with sealing enabled
  • duniter:stop - Stop the local instance of Duniter

Vault in test/gcli.sqlite

┌──────────────────────────────────────────────────────────────────────────────────────┐
│ SS58 Address                                           Crypto    Path        Name    │
╞══════════════════════════════════════════════════════════════════════════════════════╡
│ 5DfhGyQdFobKM8NsWvEeAKk5EQQgYe9AydgJ7rMB6E1EqRzV       sr25519   <Base>      base    │
│ ├ 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY               //Alice     Alice   │
│ │ ├ 5Dc96kiTPTfZHmq6yTFSqejJzfUNfQQjneNesRWf9MDppJsd             //0         0       │
│ │ ├ 5Ecc8G1JPhegXjCruhX2xk8PcSycis136rASEKSv558XvTZu             //1         1       │
│ │ ├ 5EoE7wjzjqYJPGAs382aDWEFpMFgP4H62pRC3MR6Q9ZT6zHC             //30        30      │
│ ├ 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty               //Bob       Bob     │
│ ├ 5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y               //Charlie   Charlie │
│ ├ 5DAAnrj7VHTznn2AWBemMuyBwZWs6FNFjdyVXUeYum3PTXFy               //Dave      Dave    │
│ ├ 5HGjWAeFDfFCWPsjFQdVV2Msvz2XtMktvgocEZcCj68kUMaw               //Eve       Eve     │
└──────────────────────────────────────────────────────────────────────────────────────┘

License

This template was created under the MIT License.