video2ascii 1.0.0 → 1.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 CHANGED
@@ -1,13 +1,29 @@
1
1
  # video2ascii
2
2
 
3
- WebGL-powered video to ASCII converter for React.
3
+ WebGL-powered React Component for video to ASCII conversion.
4
+
5
+ ![gta.jpeg](./assets/gta.jpeg)
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install video2ascii
11
+ ```
4
12
 
5
13
  ## Usage
6
14
 
7
15
  ```tsx
8
- import { VideoToAscii } from "@/components/VideoToAscii";
9
-
10
- <VideoToAscii src="/video.mp4" fontSize={12} colored audioReactivity={50} />;
16
+ import { VideoToAscii } from "video2ascii";
17
+
18
+ <VideoToAscii
19
+ src="/video.mp4"
20
+ fontSize={12}
21
+ colored={true}
22
+ audioReactivity={50}
23
+ enableMouse={true}
24
+ enableRipple={true}
25
+ charset="detailed"
26
+ />;
11
27
  ```
12
28
 
13
29
  ## Props
@@ -32,7 +48,7 @@ import { VideoToAscii } from "@/components/VideoToAscii";
32
48
  ## Character Sets
33
49
 
34
50
  ```tsx
35
- import { ASCII_CHARSETS } from "@/lib/ascii-charsets";
51
+ import { ASCII_CHARSETS } from "video2ascii";
36
52
  ```
37
53
 
38
54
  - `standard` — `@%#*+=-:. `
Binary file
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "video2ascii",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "WebGL-powered video to ASCII converter for React",
5
5
  "author": "Elijah Kurien",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/elijah058/video-to-ascii"
9
+ "url": "https://github.com/elijahkurien/video2ascii"
10
10
  },
11
11
  "keywords": [
12
12
  "ascii",
@@ -26,33 +26,25 @@
26
26
  }
27
27
  },
28
28
  "files": [
29
- "dist"
29
+ "dist",
30
+ "README.md",
31
+ "assets"
30
32
  ],
31
33
  "scripts": {
32
- "dev": "next dev",
33
- "build": "next build",
34
- "build:lib": "tsup",
35
- "start": "next start",
36
- "lint": "eslint",
37
- "prepublishOnly": "npm run build:lib"
34
+ "build": "tsup",
35
+ "lint": "eslint src/",
36
+ "prepublishOnly": "npm run build"
38
37
  },
39
38
  "peerDependencies": {
40
39
  "react": ">=18.0.0",
41
40
  "react-dom": ">=18.0.0"
42
41
  },
43
- "dependencies": {},
44
42
  "devDependencies": {
45
- "@tailwindcss/postcss": "^4",
46
- "@types/node": "^20",
47
43
  "@types/react": "^19",
48
44
  "@types/react-dom": "^19",
49
45
  "eslint": "^9",
50
- "eslint-config-next": "16.1.0",
51
- "next": "16.1.0",
52
- "raw-loader": "^4.0.2",
53
- "react": "19.2.3",
54
- "react-dom": "19.2.3",
55
- "tailwindcss": "^4",
46
+ "react": "^18",
47
+ "react-dom": "^18",
56
48
  "tsup": "^8",
57
49
  "typescript": "^5"
58
50
  }