{"library":"tokamak","type":"library","category":null,"description":"Tokamak is an isomorphic self-bundling bundler (version 0.0.15) aimed at Node.js and browser environments. It converts all modules to CommonJS (CJS) format, deliberately deviating from the ESM trend. Key differentiators include support for CJS-only npm modules and easier automatic HMR isolation. Drawbacks include lack of ESM circular dependency support and export-by-value semantics (e.g., `export let` modifications are not propagated). The bundler runs a static analysis to build a require graph, then generates a dynamic require function for the browser. Actively maintained with irregular releases.","language":"javascript","status":"active","version":"0.0.15","tags":["javascript","bundler","isomorphic"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tokamak","imports":["import tokamak from 'tokamak'","import { bundle } from 'tokamak'","import type { BundleOptions } from 'tokamak'","import { createRuntime } from 'tokamak/runtime'"]},{"cmd":"yarn add tokamak","imports":[]},{"cmd":"pnpm add tokamak","imports":[]}],"homepage":null,"github":"https://github.com/dmaevsky/tokamak","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tokamak","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/tokamak/compatibility"}}