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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@thunderbirdops/webext-compat-data

v5.5.4-6.2

Published

Web-extension Compat Data provides a way to generate and reference web-extension compatibility data in your apps or web-extensions.

Downloads

185

Readme

Overview

This repository provides the Thunderbird WebExtension compatibility data. The long term goal is to add this data to the browser-compat-data repository (a.k.a. BCD).

We provide an npm package, which is sourced by this repository and which can be used as a drop-in replacement for the BCD module:

// With CommonJS
const bcd = require('@thunderbirdops/webext-compat-data');

// -or-

// With ESM
import thunderbird_compat_data from '@thunderbirdops/webext-compat-data';

Work in progress - missing features

The compatibility data does not yet contain actual version numbers, but mostly just true or false for the version_added property. This is being worked on.

The manifest data still needs work.

How to contribute

If you find an error in the provided compatibility data, we suggest to always file an issue.

Since the data is mostly generated, the actual error is probably one of the following:

  • the generator script is doing something wrong
  • our schema files are wrong or incomplete
  • an API claims to be supported but is unknowingly broken due to an implementation issue

The project uses the override.json file to manually update the generated output, which is usable for short-term fixes.

We happily accept pull requests to update the override file and the generator script. We cannot accept pull requests to modify the generated data itself, since it will be overwritten with each execution of the generator script.

Manually generate the data

Install needed packages

npm install --include=dev

Usage

node generate_compat_data.js <options>

Required options

   --source=path            - Path to a local checkout of a mozilla source
                              repository with a matching /comm directory.

Optional options

   --no-mailextensions      - Do not add (Thunderbird-only) MailExtensions APIs.
   --no-minimize            - Do not minimize compat data by excluding properties
                              which have the same compat data as their parent
                              parameter.
   --override=path          - Path to a JSON file with compat data, which should
                              be enforced (for example to mark a toolkit API only
                              partially compatible). The applicable entries of
                              that data are printed to the console.
   --verbosity=level        - Integer representing a selection (sum) of the
                              requested log entries: 
                                1: namespace definitions after $imports
                                2: list all entries found in the schema files
                                4: be verbose while updating the cloned BCD data