# addons-scanner-utils

> Various addons related helpers to build CLIs.

Latest version **16.0.0** (published 2026-09-28) · MPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install addons-scanner-utils
pnpm add addons-scanner-utils
yarn add addons-scanner-utils
bun add addons-scanner-utils
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 16.0.0 |
| Published | 2026-09-28 |
| First published | 2019-09-24 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 87.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Mozilla Add-ons Team |
| Maintainers | addons-robot |

## Links

- npm: https://www.npmjs.com/package/addons-scanner-utils
- Repository: https://github.com/mozilla/addons-scanner-utils
- Issues: http://github.com/mozilla/addons-scanner-utils/issues
- npm.io page: https://npm.io/package/addons-scanner-utils

## Dependencies (6)

- [upath](https://npm.io/package/upath.md) 3.0.8
- [yauzl](https://npm.io/package/yauzl.md) 3.4.0
- [common-tags](https://npm.io/package/common-tags.md) 1.8.2
- [jsonwebtoken](https://npm.io/package/jsonwebtoken.md) ^9.0.3
- [strip-bom-stream](https://npm.io/package/strip-bom-stream.md) 4.0.0
- [first-chunk-stream](https://npm.io/package/first-chunk-stream.md) 3.0.0

## Recent versions

- 16.0.0 (latest) — 2026-09-28
- 15.5.2 — 2026-09-11
- 15.5.0 — 2026-09-09
- 15.4.0 — 2026-06-18
- 15.3.0 — 2026-06-16
- 15.2.0 — 2026-05-12
- 15.1.0 — 2026-04-28
- 15.0.0 — 2026-03-26
- 14.0.0 — 2026-03-17
- 13.1.0 — 2026-03-12
- 13.0.0 — 2026-03-10
- 12.1.0 — 2026-02-24
- 12.0.0 — 2026-02-17
- 11.0.0 — 2026-02-13
- 10.2.0 — 2026-01-22
- … 64 more at https://npm.io/package/addons-scanner-utils/versions

## README

# addons-scanner-utils

[![CircleCI](https://circleci.com/gh/mozilla/addons-scanner-utils.svg?style=svg)](https://circleci.com/gh/mozilla/addons-scanner-utils) [![codecov](https://codecov.io/gh/mozilla/addons-scanner-utils/branch/master/graph/badge.svg)](https://codecov.io/gh/mozilla/addons-scanner-utils) [![npm version](https://badge.fury.io/js/addons-scanner-utils.svg)](https://badge.fury.io/js/addons-scanner-utils)

Various addons related helpers to build scanners.

## Usage

```
npm install addons-scanner-utils
```

## Requirements

- You need [Node](https://nodejs.org/) 22, which is the current [LTS](https://github.com/nodejs/LTS) (long term support) release.
- You need [npm](https://www.npmjs.com/) to manage dependencies and run commands.

## Development

- Read [our contributing guidelines](./CONTRIBUTING.md) to get started on your first patch
- Clone this repository
- Type `npm install` to install everything
- Run the test suite to make sure everything is set up: `npm test`

### Available development commands

In the project directory, you can run the following commands. There are a few commands not mentioned here (see `package.json`) but those are only used by internal processes.

#### `npm run eslint`

This runs [ESLint][] to discover problems within our codebase without executing it. ESLint also enforces some patterns and practices.

#### `npm run lint`

This runs all the _lint_ commands at once.

#### `npm run prettier`

This runs [Prettier][] to automatically format the entire codebase.

#### `npm run prettier-dev`

This runs [Prettier][] on only your changed files. This is intended for development.

#### `npm test`

This launches [Jest][] in the interactive watch mode.

### Prettier

We use [Prettier][] to automatically format our JavaScript code and stop all the on-going debates over styles. As a developer, you have to run it (with `npm run prettier-dev`) before submitting a Pull Request.

### Versioning

This project follows the [semantic versioning](https://semver.org/) specification. To release a new version of this library on npmjs.org, please see [our release process][].

[eslint]: https://eslint.org/
[jest]: https://jestjs.io/
[our release process]: https://github.com/mozilla/addons/tree/1.1/.github/actions/release#release-process
[prettier]: https://prettier.io/

---
_Source: https://npm.io/package/addons-scanner-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
