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

@d13co/open-in

v0.1.0

Published

Algorand Explorer and dApp registry for redirects. Open addresses, txns, assets, apps, and more in your favorite explorer or dApp browser.

Downloads

215

Readme

"Open In" for Algorand

  • Data Registry of supported networks and page types for explorers and dApps.
  • Utility to generate Algorand explorer and dApp links for use in dApps and tools.

Usage

import { getOpenInEntries } from '@d13/open-in';

/*
Example: You want to offer "open-in" / navigation options for testnet asset 10010 
Which explorers/dApps support this?
What is the correct URL for the network, pageType and id? 
*/
const sites = getOpenInEntries('testnet', 'asset');

for (const site of sites) {
  const url = site.getUrl('testnet', 'asset', '10010');
  console.log(`Site Name: "${site.siteName}"; URL: "${url}"`);
}

/*
Site Name: "Pera"; URL: "https://testnet.explorer.perawallet.app/asset/10010"
Site Name: "Lora"; URL: "https://lora.algokit.io/testnet/asset/10010"
Site Name: "Algo Surf"; URL: "https://testnet.algo.surf/asset/10010/transactions"
*/

Example Options

This section is generated by npx tsx examples/example.ts for different network & page type scenarios. It is not guarranteed to be up to date with the latest registry entries.

Entries for { PageType: transaction, Network: testnet, ID: QOOBRVQMX4HW5QZ2EGLQDQCQTKRF3UP3JKDGKYPCXMI6AVV35KQA }

  • Site Name: Pera

    • Category: explorer
    • URL: https://testnet.explorer.perawallet.app/tx/QOOBRVQMX4HW5QZ2EGLQDQCQTKRF3UP3JKDGKYPCXMI6AVV35KQA
  • Site Name: Lora

    • Category: explorer
    • URL: https://lora.algokit.io/testnet/transaction/QOOBRVQMX4HW5QZ2EGLQDQCQTKRF3UP3JKDGKYPCXMI6AVV35KQA
  • Site Name: Algo Surf

    • Category: explorer
    • URL: https://testnet.algo.surf/transaction/QOOBRVQMX4HW5QZ2EGLQDQCQTKRF3UP3JKDGKYPCXMI6AVV35KQA

Entries for { PageType: account, Network: mainnet, ID: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ }

  • Site Name: Allo

    • Category: explorer
    • URL: https://allo.info/address/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ
  • Site Name: Pera

    • Category: explorer
    • URL: https://explorer.perawallet.app/address/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ
  • Site Name: Lora

    • Category: explorer
    • URL: https://lora.algokit.io/mainnet/account/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ
  • Site Name: Algo Surf

    • Category: explorer
    • URL: https://algo.surf/account/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ
  • Site Name: Flow Algo Surf

    • Category: analytics
    • URL: https://flow.algo.surf/address/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ

Entries for { PageType: block, Network: fnet, ID: 1 }

  • Site Name: Lora

    • Category: explorer
    • URL: https://lora.algokit.io/fnet/block/1
  • Site Name: Algo Surf

    • Category: explorer
    • URL: https://fnet.algo.surf/block/1/transactions

Entries for { PageType: application, Network: betanet, ID: 1002 }

  • Site Name: Lora

    • Category: explorer
    • URL: https://lora.algokit.io/betanet/application/1002
  • Site Name: Algo Surf

    • Category: explorer
    • URL: https://betanet.algo.surf/application/1002/transactions

Entries for { PageType: asset, Network: localnet, ID: 1002 }

  • Site Name: Lora

    • Category: explorer
    • URL: https://lora.algokit.io/localnet/asset/1002
  • Site Name: Algo Surf

    • Category: explorer
    • URL: https://localnet.algo.surf/asset/1002/transactions

Used By

Algo Surf

Example Mainnet account

Development

Install dependencies

pnpm install

Contributing your dApp as an Open In Entry

Want your explorer or dApp to be included? Submit your own Entry!

  1. Install dependencies (see below)
  2. Copy src/Entries/_EntryTemplate.ts to a new file (e.g., src/Entries/MyDappEntry.ts).
  3. Rename the class and file to match your entry.
  4. Fill in the required fields and customize the logic as needed:
    • siteName: The display name of your site or dApp
    • category: The category (e.g., 'explorer', 'analytics', 'dapp')
    • baseUrl: The base URL for your site. Use {network} as a placeholder if your site supports multiple networks.
    • baseUrlOverride: (Optional) Override the base URL for specific networks (e.g., mainnet)
    • networks: Supported networks
    • pageTypeSuffixMap: Map page types to their URL suffixes. Use {id} as a placeholder for resource IDs.
  5. Add comments to explain any special rules or behaviors.
  6. IMPORTANT: Add your new entry to src/EntryRegistry.ts so it gets included in the build.
  7. Submit a pull request with your new entry!

For more details, see the template in src/Entries/_EntryTemplate.ts.

Build

pnpm build

Lint

pnpm lint

Format

pnpm format:check   # Check formatting
pnpm format         # Auto-format code

Pre-commit hooks

This project uses Husky and lint-staged to run lint and format checks on staged files before committing.

GitHub Actions

All pull requests are checked for formatting and lint errors via GitHub Actions.

License

MIT