{"library":"esbuild-plugin-extract-helpers","type":"library","category":null,"description":"Esbuild plugin (v0.0.11) that extracts CommonJS helper functions (like those from tslib) into a separate shared file, reducing bundle size when multiple CJS modules are emitted. The plugin hooks into esbuild's build process to deduplicate helper injections that esbuild otherwise inlines into each CJS module. Requires esbuild >=0.19.0 as a peer dependency. Currently a PoC with a focused API surface: configure CJS glob pattern, output directory, and helper filename. Ships TypeScript declarations, targets ESM-only consumption.","language":"javascript","status":"active","version":"0.0.10","tags":["javascript","esbuild","plugin","helpers","tslib","cjs","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install esbuild-plugin-extract-helpers","imports":["import { extractHelpersPlugin } from 'esbuild-plugin-extract-helpers'","import type { PluginOptions } from 'esbuild-plugin-extract-helpers'","import extractHelpersPlugin from 'esbuild-plugin-extract-helpers'"]},{"cmd":"yarn add esbuild-plugin-extract-helpers","imports":[]},{"cmd":"pnpm add esbuild-plugin-extract-helpers","imports":[]}],"homepage":null,"github":"https://github.com/antongolub/misc","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-extract-helpers","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}