svg-terminal 1.0.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.
package/dist/index.js ADDED
@@ -0,0 +1,101 @@
1
+ import {
2
+ BlockConfigError,
3
+ ConfigError,
4
+ PAUSE_PRESETS,
5
+ TYPING_PRESETS,
6
+ amber,
7
+ buildColorMap,
8
+ catppuccin,
9
+ createAutoBox,
10
+ createBox,
11
+ createDoubleBox,
12
+ createRoundedBox,
13
+ createTitledBox,
14
+ cyberpunk,
15
+ dracula,
16
+ fetchJson,
17
+ fetchText,
18
+ fetchWithTimeout,
19
+ generate,
20
+ generateStatic,
21
+ generateStaticSvg,
22
+ generateSvg,
23
+ getBlock,
24
+ getTheme,
25
+ greenPhosphor,
26
+ gruvbox,
27
+ hasMarkup,
28
+ highContrast,
29
+ inspectCache,
30
+ listBlocks,
31
+ listThemes,
32
+ loadConfig,
33
+ mergeConfig,
34
+ monokai,
35
+ nord,
36
+ parseMarkup,
37
+ registerBlock,
38
+ registerBlocks,
39
+ registerBuiltinBlocks,
40
+ registerTheme,
41
+ resolvePause,
42
+ resolveTheme,
43
+ resolveTyping,
44
+ setStrictBlockConfig,
45
+ solarizedDark,
46
+ stripMarkup,
47
+ themes,
48
+ tokyoNight,
49
+ win95
50
+ } from "./chunk-IVINEQLU.js";
51
+ export {
52
+ BlockConfigError,
53
+ ConfigError,
54
+ PAUSE_PRESETS,
55
+ TYPING_PRESETS,
56
+ amber,
57
+ buildColorMap,
58
+ catppuccin,
59
+ createAutoBox,
60
+ createBox,
61
+ createDoubleBox,
62
+ createRoundedBox,
63
+ createTitledBox,
64
+ cyberpunk,
65
+ dracula,
66
+ fetchJson,
67
+ fetchText,
68
+ fetchWithTimeout,
69
+ generate,
70
+ generateStatic,
71
+ generateStaticSvg,
72
+ generateSvg,
73
+ getBlock,
74
+ getTheme,
75
+ greenPhosphor,
76
+ gruvbox,
77
+ hasMarkup,
78
+ highContrast,
79
+ inspectCache,
80
+ listBlocks,
81
+ listThemes,
82
+ loadConfig,
83
+ mergeConfig,
84
+ monokai,
85
+ nord,
86
+ parseMarkup,
87
+ registerBlock,
88
+ registerBlocks,
89
+ registerBuiltinBlocks,
90
+ registerTheme,
91
+ resolvePause,
92
+ resolveTheme,
93
+ resolveTyping,
94
+ setStrictBlockConfig,
95
+ solarizedDark,
96
+ stripMarkup,
97
+ themes,
98
+ tokyoNight,
99
+ win95
100
+ };
101
+ //# sourceMappingURL=index.js.map
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "svg-terminal",
3
+ "version": "1.0.0",
4
+ "description": "Generate animated SVG terminals for GitHub READMEs from a declarative YAML config. 47 built-in blocks, 12 themes, zero runtime deps in the output.",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "svg-terminal": "dist/cli.js"
10
+ },
11
+ "files": [
12
+ "dist/**/*.js",
13
+ "dist/**/*.d.ts",
14
+ "README.md",
15
+ "LICENSE"
16
+ ],
17
+ "scripts": {
18
+ "build": "tsup",
19
+ "dev": "tsup --watch",
20
+ "test": "vitest run",
21
+ "test:watch": "vitest",
22
+ "lint": "eslint src/",
23
+ "typecheck": "tsc --noEmit",
24
+ "generate": "tsx src/cli.ts generate",
25
+ "demo": "npm run build && node examples/build-demos.mjs",
26
+ "demo:regen": "node examples/build-demos.mjs",
27
+ "prepare": "node scripts/install-hooks.mjs",
28
+ "prepublishOnly": "npm run build"
29
+ },
30
+ "keywords": [
31
+ "svg",
32
+ "terminal",
33
+ "github",
34
+ "readme",
35
+ "profile",
36
+ "animation",
37
+ "smil",
38
+ "generator",
39
+ "ascii",
40
+ "cli",
41
+ "blocks",
42
+ "themes",
43
+ "yaml",
44
+ "cache",
45
+ "static-site",
46
+ "accessibility"
47
+ ],
48
+ "author": "William Zujkowski <williamzujkowski@gmail.com>",
49
+ "license": "MIT",
50
+ "repository": {
51
+ "type": "git",
52
+ "url": "https://github.com/williamzujkowski/svg-terminal.git"
53
+ },
54
+ "homepage": "https://github.com/williamzujkowski/svg-terminal",
55
+ "bugs": {
56
+ "url": "https://github.com/williamzujkowski/svg-terminal/issues"
57
+ },
58
+ "engines": {
59
+ "node": ">=22.0.0"
60
+ },
61
+ "devDependencies": {
62
+ "@types/js-yaml": "^4.0.9",
63
+ "@types/node": "^22.19.19",
64
+ "@vitest/coverage-v8": "^4.1.7",
65
+ "eslint": "^9.39.4",
66
+ "tsup": "^8.0.0",
67
+ "tsx": "^4.22.3",
68
+ "typescript": "^5.7.0",
69
+ "typescript-eslint": "^8.60.0",
70
+ "vitest": "^4.1.7"
71
+ },
72
+ "dependencies": {
73
+ "js-yaml": "^4.1.1",
74
+ "zod": "^4.4.3"
75
+ }
76
+ }