clipfix 0.1.1 → 0.1.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 (3) hide show
  1. package/README.md +49 -0
  2. package/bin/clipfix +0 -0
  3. package/package.json +2 -1
package/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # clipfix
2
+
3
+ > Fix copy-pasted text from LLMs and the web — instantly convert fancy Unicode punctuation to plain ASCII.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install -g clipfix
9
+ ```
10
+
11
+ **macOS only** (ARM64 and Intel)
12
+
13
+ ## Usage
14
+
15
+ ### Clipboard Mode
16
+ Copy text from anywhere, then:
17
+ ```bash
18
+ clipfix --clipboard
19
+ # Fixed 8 characters
20
+ ```
21
+
22
+ ### Pipe Mode
23
+ ```bash
24
+ echo '"Hello — world"' | clipfix
25
+ # Output: "Hello -- world"
26
+
27
+ # Fix a file
28
+ cat document.md | clipfix > fixed.md
29
+ ```
30
+
31
+ ## What Gets Fixed
32
+
33
+ | Unicode | ASCII | Example |
34
+ |---------|-------|---------|
35
+ | `—` (em dash) | `--` | `Hello—world` → `Hello--world` |
36
+ | `""` (smart quotes) | `""` | `"hello"` → `"hello"` |
37
+ | `→` (arrow) | `->` | `step → next` → `step -> next` |
38
+ | `≠` | `!=` | `x ≠ y` → `x != y` |
39
+ | `…` | `...` | `wait…` → `wait...` |
40
+
41
+ Plus 20+ more transformations including zero-width space removal.
42
+
43
+ ## Why?
44
+
45
+ LLMs love fancy punctuation that breaks in terminals, code editors, and config files. clipfix sanitizes it instantly.
46
+
47
+ ## License
48
+
49
+ MIT
package/bin/clipfix CHANGED
Binary file
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "clipfix",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Fix copy-pasted text from LLMs - convert fancy Unicode punctuation to plain ASCII",
5
5
  "main": "clipfix.js",
6
6
  "bin": {
7
7
  "clipfix": "./clipfix.js"
8
8
  },
9
9
  "files": [
10
+ "README.md",
10
11
  "clipfix.js",
11
12
  "bin/clipfix"
12
13
  ],