clipfix 0.1.0

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/bin/clipfix +0 -0
  2. package/clipfix.js +11 -0
  3. package/package.json +49 -0
package/bin/clipfix ADDED
Binary file
package/clipfix.js ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+ const { execFileSync } = require('child_process');
4
+ const path = require('path');
5
+ const binary = path.join(__dirname, 'bin', 'clipfix');
6
+ const args = process.argv.slice(2);
7
+ try {
8
+ execFileSync(binary, args, { stdio: 'inherit' });
9
+ } catch (e) {
10
+ process.exit(e.status || 1);
11
+ }
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "clipfix",
3
+ "version": "0.1.0",
4
+ "description": "Fix copy-pasted text from LLMs - convert fancy Unicode punctuation to plain ASCII",
5
+ "main": "clipfix.js",
6
+ "bin": {
7
+ "clipfix": "./clipfix.js"
8
+ },
9
+ "files": [
10
+ "clipfix.js",
11
+ "bin/clipfix"
12
+ ],
13
+ "os": [
14
+ "darwin"
15
+ ],
16
+ "cpu": [
17
+ "arm64",
18
+ "x64"
19
+ ],
20
+ "scripts": {
21
+ "test": "echo 'Tests run via cargo test' && exit 0"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/liquizz/clipfix.git"
26
+ },
27
+ "keywords": [
28
+ "cli",
29
+ "unicode",
30
+ "ascii",
31
+ "punctuation",
32
+ "smart-quotes",
33
+ "llm",
34
+ "clipboard",
35
+ "text-processing",
36
+ "typography",
37
+ "terminal",
38
+ "macos"
39
+ ],
40
+ "author": "",
41
+ "license": "MIT",
42
+ "bugs": {
43
+ "url": "https://github.com/liquizz/clipfix/issues"
44
+ },
45
+ "homepage": "https://github.com/liquizz/clipfix#readme",
46
+ "engines": {
47
+ "node": ">=14.0.0"
48
+ }
49
+ }