# babel-plugin-third-party-imports

> Appends `https://third_party/` to all imports that reference packages.

Latest version **0.0.8** (published 2020-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-third-party-imports
pnpm add babel-plugin-third-party-imports
yarn add babel-plugin-third-party-imports
bun add babel-plugin-third-party-imports
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2020-07-06 |
| First published | 2020-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 789 |
| Author | Microsoft Corporation |
| Maintainers | joeleinbinder |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-third-party-imports
- Repository: https://github.com/Microsoft/playwright-runner
- Homepage: https://github.com/Microsoft/playwright-runner#readme
- Issues: https://github.com/Microsoft/playwright-runner/issues
- npm.io page: https://npm.io/package/babel-plugin-third-party-imports

## Dependencies (2)

- [@babel/core](https://npm.io/package/@babel/core.md) ^7.9.0
- [@babel/helper-plugin-utils](https://npm.io/package/@babel/helper-plugin-utils.md) ^7.8.3

## Recent versions

- 0.0.8 (latest) — 2020-07-06
- 0.0.7 — 2020-04-24
- 0.0.6 — 2020-04-17
- 0.0.5 — 2020-04-17
- 0.0.4 — 2020-04-17
- 0.0.3 — 2020-04-17
- 0.0.2 — 2020-04-17

## README

# babel-plugin-third-party-imports

Appends `https://third_party/` to all imports that reference packages.

For example

```js
import * from 'something';
```

Becomes
```js
import * from 'https://third_party/?name=something&from=/path/to/file';
```

This is useful because imports that aren't urls or relative paths are invalid in browsers. Transforming them allows a server or proxy to redirect them to a compiled bundle.

---
_Source: https://npm.io/package/babel-plugin-third-party-imports · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
