@useknockout/node 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/README.md +14 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,11 +23,24 @@ Requires **Node 18+** (for global `fetch` and `FormData`).
23
23
 
24
24
  ## Quick start
25
25
 
26
+ ### Public beta token
27
+
28
+ During the public beta, anyone can use this shared bearer token:
29
+
30
+ ```
31
+ kno_public_beta_4d7e9f1a3c5b2e8d6a9f7c1b3e5d8a2f
32
+ ```
33
+
34
+ No signup — copy, paste, call the API. Need your own key / production limits? DM [@useknockout](https://x.com/useknockout) on X.
35
+
36
+ ### One-minute example
37
+
26
38
  ```ts
27
39
  import { writeFile } from "node:fs/promises";
28
40
  import { Knockout } from "@useknockout/node";
29
41
 
30
- const client = new Knockout({ token: process.env.KNOCKOUT_TOKEN! });
42
+ // Public beta for production use your own key
43
+ const client = new Knockout({ token: "kno_public_beta_4d7e9f1a3c5b2e8d6a9f7c1b3e5d8a2f" });
31
44
 
32
45
  // 1. From a local file path
33
46
  const png = await client.remove({ file: "./input.jpg" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useknockout/node",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Official Node.js client for useknockout — state-of-the-art background removal API.",
5
5
  "keywords": [
6
6
  "background-removal",