# @jspm/generator

> Package Import Map Generation Tool

Latest version **2.16.3** (published 2026-06-29) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @jspm/generator
pnpm add @jspm/generator
yarn add @jspm/generator
bun add @jspm/generator
```

## 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 | 2.16.3 |
| Published | 2026-06-29 |
| First published | 2021-05-06 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 10 |
| Unpacked size | 919.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3867 |
| Author | Guy Bedford |
| Maintainers | guybedford, jkrishna, bubblyworld |
| Keywords | jspm, import maps, es modules, cdn, package manager |

## Links

- npm: https://www.npmjs.com/package/@jspm/generator
- Repository: https://github.com/jspm/jspm
- Homepage: https://github.com/jspm/jspm/tree/main/generator#readme
- Issues: https://github.com/jspm/jspm/issues
- npm.io page: https://npm.io/package/@jspm/generator

## Dependencies (10)

- [pako](https://npm.io/package/pako.md) ^2.1.0
- [sver](https://npm.io/package/sver.md) ^2.0.1
- [minimatch](https://npm.io/package/minimatch.md) ^10.0.1
- [tar-stream](https://npm.io/package/tar-stream.md) ^3.1.6
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.24.7
- [@jspm/fetch](https://npm.io/package/@jspm/fetch.md) ^0.1.0
- [es-module-lexer](https://npm.io/package/es-module-lexer.md) ^2.1.0
- [@jspm/import-map](https://npm.io/package/@jspm/import-map.md) ^1.5.0
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.24.7
- [@babel/plugin-syntax-import-attributes](https://npm.io/package/@babel/plugin-syntax-import-attributes.md) ^7.24.7

## Recent versions

- 2.16.3 (latest) — 2026-06-29
- 2.16.2 — 2026-06-21
- 2.16.1 — 2026-05-24
- 2.16.0 — 2026-05-24
- 2.15.0 — 2026-05-11
- 2.14.0 — 2026-04-20
- 2.13.0 — 2026-04-01
- 2.12.0 — 2026-03-16
- 2.11.0 — 2026-03-02
- 2.10.0 — 2026-02-02
- 2.9.0 — 2026-01-19
- 2.8.0 — 2025-12-07
- 2.7.6 — 2025-10-26
- 2.7.5 — 2025-10-25
- 2.7.4 — 2025-10-20
- … 79 more at https://npm.io/package/@jspm/generator/versions

## README

<div align="center">
  <img style="display: inline-block; width: 100px; vertical-align: middle; margin-top: -1em;" src="https://jspm.org/jspm.png"/>
  <h1 style="display: inline-block">JSPM Generator</h1>
<p><strong>JSPM Generator is the core import map generation project used by JSPM, supporting import map package management.</strong></p>
<a href="https://jspm.org/getting-started">Getting Started</a> | <a href="https://jspm.org/docs/generator">Documentation</a> | <a href="https://jspm.org/faq">FAQ</a>
<br />
<hr style="width:50%"/>
</div>
<br />

This is the core import map generation project for the [JSPM CLI](https://github.com/jspm/jspm).

* **Local Linking**: map packages to your local `node_modules` folder
* **Common CDNs**: Resolve against common CDNs like [jspm.io](https://jspm.io/), [jsDelivr](https://jsdelivr.com), [UNPKG](https://unpkg.com/) and [more](#customProviders)
* **Universal Semantics**: Implements [universal CDN resolution](https://jspm.org/docs/cdn-resolution.md) semantics, based on an extension of the Node.js resolution
* **Conditional Resolution**: Map different versions of a module based on environment
* **Dependency Versioning**: Respects the version constraints in local and remote `package.json` files
* **Package Entrypoints**: Handles node-style package exports, imports and own-name resolution

See the [documentation](https://jspm.org/docs/generator) and [getting started](https://jspm.org/docs/getting-started) guide on jspm.org.

## Contributing

Contributions welcome.

Build and test workflows use [Chomp](https://chompbuild.com).

## License

Apache-2.0

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