# mail-ext-types

> TypeScript type definitions for MailExtensions

Latest version **0.1.0** (published 2019-07-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install mail-ext-types
pnpm add mail-ext-types
yarn add mail-ext-types
bun add mail-ext-types
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-07-26 |
| First published | 2019-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 18 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nicolas Hedger |
| Maintainers | nhedger |
| Keywords | thunderbird, typescript, mailextension |

## Links

- npm: https://www.npmjs.com/package/mail-ext-types
- npm.io page: https://npm.io/package/mail-ext-types

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2019-07-26

## README

# web-ext-types

[![Build Status][build-badge]][build-url]
[![Npm Version][npm-badge]][npm-url]

TypeScript type definitions for MailExtensions, based on https://thunderbird-webextensions.readthedocs.io/en/latest/index.html

## Requirements

As this library is using the `object` type and default values for generics,
`typescript` should at least be on version `2.3` to get the definitions to work.

## Install it

There is an npm package available, which means you can grab it from there:

```sh
# yarn version
yarn add mail-ext-types --dev

# npm version
npm install --save-dev mail-ext-types
```

Though if you want to use the git version, simply do:

```sh
# yarn version
yarn add nhedger/web-ext-types --dev

# npm version
npm install --save-dev nhedger/web-ext-types
```

As this is not a [`DefinitelyTyped`][definitely-typed] package, you will have to
include the type definition in your `tsconfig.json` by hand, via a `typeRoots`
option.

```js
{
  "compilerOptions": {
    // You have to explicitly set @types to get DefinitelyTyped type definitions
    "typeRoots": ["node_modules/@types", "node_modules/mail-ext-types"],
  }
}
```

[build-badge]: https://travis-ci.org/nhedger/mail-ext-types.svg?branch=master
[build-url]: https://travis-ci.org/nhedger/mail-ext-types
[definitely-typed]: https://github.com/DefinitelyTyped/DefinitelyTyped/
[npm-badge]: https://img.shields.io/npm/v/mail-ext-types.svg
[npm-url]: https://www.npmjs.com/package/mail-ext-types

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