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

ext-helpers

v1.7.1

Published

A set of libraries for convenient browser extensions development

Readme

ExtHelpers

A set of libraries for convenient browser extensions development!

  • All libraries share unified version number.
  • All libraries are tested and support Chrome 50+ (and other Chromium based analogs).
  • No special manifest permissions needed unless otherwise specified for a particular library.
  • Each library does not depend on others but compatible with them (of course).
  • Each library is designed to perform one function and to speed up and simplify development when compared with using standard extensions api.
  • Unit tests will come out someday™.

Installation

yarn add ext-helpers | npm install ext-helpers

Just import library or include via script tag, or include script file using manifest. Then initialize its class.
Some libraries need to be included in background or content scripts or into both, refer to the documentation for the specific library.

import ExtStorageManager from 'ext-helpers/dist/ext-storage-manager.js';

Or:

<script src="/dist/ext-storage-manager.js"></script>

Or in manifest.json:

{
  "manifest_version": 2,
  "minimum_chrome_version": "50",
  "permissions": [
    "storage",
    "<all_urls>"
  ],
  "background": {
    "scripts": [
      "/deps/ext-storage-manager.min.js",
      "/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "/deps/ext-storage-manager.min.js",
        "/content.js"
      ]
    }
  ],
  ...
}

Then:

const storage = new ExtStorageManager({}, init);

ExtStorageManager

Serves as a convenient wrapper over the storage api.
Allows you to perform actions with the storage absolutely synchronously!
Conveniently access nested storage objects and subscribe to their changes.
Set default storage contents.

ExtAutoInject

Automatically injects your content scripts during extension installation or update.
Users immediately see your extension working without having to reload tabs!
Conveniently allows you to interrupt the execution of old content scripts and initialize new (updated) ones.
Injects content scripts and css specified in your manifest into suitable tabs and returns metadata such as extension version and update date.

ExtActiveTabState

Allows to get the metadata of the currently opened (focused) tab.
Moreover, you can provide any data from the active tab (through content script)!
Conveniently subscribe to this data from specific pages using namespaces.
In sum, every time the user switches between tabs, you can receive data and the state of the active tab.

ExtSinglePageOpener

Open any links in new tabs or windows only once.
Does not require any additional permissions (such as tabs)!
Conveniently allows you to create a new tab with the url or focus on an already opened with this url tab without creating a new one.
Also allows you to set tabs parameters, for example open in a new window without an omnibox.