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

appbooster

v1.0.5

Published

Lightweight TypeScript ads SDK for AppBooster CPC ad platform

Readme

@appbooster/ads

Lightweight TypeScript SDK for AppBooster's CPC ad platform. Zero dependencies, Shadow DOM, CSP-safe.

Install

npm/pnpm

pnpm add @appbooster/ads

Script tag (IIFE)

<!-- Pinned version (recommended) -->
<script src="https://extensionbooster-resources.s3.amazonaws.com/sdk/v1.0.0/ext-review-ads.iife.js"></script>

<!-- Always latest -->
<script src="https://extensionbooster-resources.s3.amazonaws.com/sdk/latest/ext-review-ads.iife.js"></script>

Web Component — included automatically when the script loads.


Quick Start

1. Script tag (auto-scan)

<script src="ext-review-ads.iife.js"></script>

<div data-ext-review-ad
     data-publisher-id="YOUR_ID"
     data-format="banner"
     data-theme="auto">
</div>

2. NPM / ESM

import ExtReviewAds from '@appbooster/ads';

await ExtReviewAds.render(document.getElementById('ad-slot'), {
  publisherId: 'YOUR_ID',
  slot: 'sidebar',
  format: 'native',
  theme: 'auto',
});

3. Web Component

<ext-review-ad
  publisher-id="YOUR_ID"
  slot="sidebar"
  format="banner"
  theme="dark">
</ext-review-ad>

API Reference

ExtReviewAds.init(config)

Renders into first [data-ext-review-ad] element found, or appends a new container to <body>.

ExtReviewAds.render(target, config)

Renders an ad into the given HTMLElement.

ExtReviewAds.version

Current SDK version string.

AdConfig

| Property | Type | Default | Description | |---|---|---|---| | publisherId | string | — | Required. Your publisher key | | slot | string | 'default' | Ad slot identifier | | format | 'banner' \| 'native' \| 'text' | 'native' | Ad format | | theme | 'light' \| 'dark' \| 'auto' | 'auto' | Color theme | | baseUrl | string | https://api.appbooster.net | API base URL |


Formats

| Format | Description | |---|---| | banner | Responsive bar with icon, title, description, CTA button | | native | Flexible card that inherits parent fonts via CSS custom props | | text | Single-line Sponsored: title — description link |


Theming

Override CSS custom properties on the host element:

ext-review-ad {
  --er-ad-bg: #f9f9f9;
  --er-ad-text: #111;
  --er-ad-border: #ddd;
  --er-ad-radius: 12px;
  --er-ad-font: 'Inter', sans-serif;
  --er-ad-accent: #0055bb;
  --er-ad-muted: #777;
}

| Variable | Purpose | |---|---| | --er-ad-bg | Ad background color | | --er-ad-text | Primary text color | | --er-ad-border | Border color | | --er-ad-radius | Border radius | | --er-ad-font | Font family (inherits parent by default) | | --er-ad-accent | CTA / link color | | --er-ad-muted | Secondary / label text color |


CSP Notes

  • No eval(), no new Function(), no innerHTML with user data
  • All DOM built via createElement / createTextNode
  • Shadow DOM isolates styles — safe for Chrome extensions
  • Add to your CSP: img-src https://api.appbooster.net
  • Impression tracking uses a 1×1 pixel <img> request

Browser Support

Requires: fetch, IntersectionObserver, CustomElements (all modern browsers, Chrome 67+).