Download Latest Version Biome CLI v2.1.2 source code.tar.gz (7.2 MB)
Email in envelope

Get an email when there's a new version of Biome

Home / @biomejs_js-api@2.0.0
Name Modified Size InfoDownloads / Week
Parent folder
JavaScript APIs v2.0.0 source code.tar.gz 2025-07-08 7.1 MB
JavaScript APIs v2.0.0 source code.zip 2025-07-08 14.6 MB
README.md 2025-07-08 13.8 kB
Totals: 3 Items   21.7 MB 0

2.0.0

[!WARNING] Due to a CI problem, this version is broken and not includes necessary files in the package.

Minor Changes

  • #6535 d8c08e1 Thanks @regseb! - Biome's JavaScript Bindings now have specific subpath exports for the three packages:

  • import { Biome } from "@biomejs/js-api/bundler";

  • import { Biome } from "@biomejs/js-api/nodejs";
  • import { Biome } from "@biomejs/js-api/web";

These new subpath exports load only TypeScript declarations, whereas the default export loads declarations for all three packages. This was a problem if you checked your code with tsc.

  • Old usage with default export (no subpath):

    ```js import { Biome, Distribution } from "@biomejs/js-api";

    const biome = await Biome.create({ distribution: Distribution.NODE }); ```

  • New usage with a specific subpath export:

    ```js import { Biome } from "@biomejs/js-api/nodejs";

    const biome = new Biome(); ```

Patch Changes

  • Updated dependencies []:
  • @biomejs/wasm-web@2.1.0
  • @biomejs/wasm-bundler@2.1.0
  • @biomejs/wasm-nodejs@2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.0.6...@biomejs/js-api@2.0.0

Source: README.md, updated 2025-07-08