@dprint/biome 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # @dprint/biome
2
+
3
+ npm distribution of [dprint-plugin-biome](https://github.com/dprint/dprint-plugin-biome) which is an adapter plugin for [Biome](https://github.com/biomejs/biome).
4
+
5
+ Use this with [@dprint/formatter](https://github.com/dprint/js-formatter) or just use @dprint/formatter and download the [dprint-plugin-biome Wasm file](https://github.com/dprint/dprint-plugin-biome/releases).
6
+
7
+ ## Example
8
+
9
+ ```ts
10
+ import { getBuffer } from "@dprint/biome";
11
+ import { createFromBuffer } from "@dprint/formatter";
12
+
13
+ const formatter = createFromBuffer(getBuffer());
14
+
15
+ console.log(
16
+ formatter.formatText("test.js", "console.log( 5 )"),
17
+ );
18
+ ```