PB
Available
package_2
lock Free · Private · In-Browser

Npm Package JSON Exports Builder

Generate package.json exports maps for ESM, CJS, and type declaration entries.

What the Npm Package JSON Exports does

Generate package.json exports maps for ESM, CJS, and type declaration entries. A small library can expose root and subpath imports with separate import and require fields Adjust the controls and the preview updates immediately, so you can dial in exactly what you want and copy the result straight into your project — no build step and no account.

One thing to keep in mind: Exports maps affect consumers, so test imports in a sample project.

Private and in your browser

Everything runs locally in your browser. Your input is never uploaded, so the tool stays fast and works offline, and the copy and download buttons always use the current result shown in the output panel.

Frequently Asked Questions

What does the Npm Package JSON Exports do?

Generate package.json exports maps for ESM, CJS, and type declaration entries. A small library can expose root and subpath imports with separate import and require fields.

What should I keep in mind?

Exports maps affect consumers, so test imports in a sample project

Does it upload my input?

No. The Npm Package JSON Exports runs entirely in your browser — your input is never uploaded, and it keeps working offline once the page has loaded.

Take it further
Developer Tools

Practical utilities for front-end design and implementation work.

Learn More arrow_forward