@hypernym/colors 1.0.3 → 1.0.5
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/LICENSE.txt +2 -1
- package/README.md +3 -7
- package/dist/index.d.mts +2 -1
- package/package.json +20 -23
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2025 Ivo Dolenc
|
|
3
|
+
Copyright (c) 2025, Ivo Dolenc <https://github.com/ivodolenc>
|
|
4
|
+
Copyright (c) 2025, Hypernym Studio <https://github.com/hypernym-studio>
|
|
4
5
|
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
7
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<h1 align="center"
|
|
1
|
+
<h1 align="center">@hypernym/colors</h1>
|
|
2
2
|
|
|
3
3
|
<p align="center">Ultra lightweight color utilities for console.</p>
|
|
4
4
|
|
|
@@ -29,16 +29,12 @@
|
|
|
29
29
|
## Usage
|
|
30
30
|
|
|
31
31
|
```ts
|
|
32
|
-
import { bold, green, cyan } from '@hypernym/colors'
|
|
32
|
+
import { bold, green, cyan, ... } from '@hypernym/colors'
|
|
33
33
|
|
|
34
34
|
console.log(bold(green('hypernym')), cyan('colors'))
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
Feel free to ask questions or share new ideas.
|
|
40
|
-
|
|
41
|
-
Use the official [discussions](https://github.com/hypernym-studio/colors/discussions) to get involved.
|
|
37
|
+
See a list of all available [colors](./src/index.ts).
|
|
42
38
|
|
|
43
39
|
## License
|
|
44
40
|
|
package/dist/index.d.mts
CHANGED
|
@@ -26,4 +26,5 @@ declare const bgWhite: Color;
|
|
|
26
26
|
declare const gray: Color;
|
|
27
27
|
declare const bgGray: Color;
|
|
28
28
|
|
|
29
|
-
export {
|
|
29
|
+
export { bgBlack, bgBlue, bgCyan, bgGray, bgGreen, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, crossout, cyan, dim, gray, green, hidden, inverse, italic, magenta, red, reset, underline, white, yellow };
|
|
30
|
+
export type { Color };
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hypernym/colors",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"author": "Hypernym Studio",
|
|
5
5
|
"description": "Ultra lightweight color utilities for console.",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/hypernym-studio/colors.git"
|
|
10
|
+
},
|
|
8
11
|
"homepage": "https://github.com/hypernym-studio/colors",
|
|
9
12
|
"funding": "https://github.com/sponsors/ivodolenc",
|
|
10
13
|
"type": "module",
|
|
@@ -28,18 +31,6 @@
|
|
|
28
31
|
"log",
|
|
29
32
|
"esm"
|
|
30
33
|
],
|
|
31
|
-
"scripts": {
|
|
32
|
-
"build": "hyperbundler",
|
|
33
|
-
"lint": "eslint .",
|
|
34
|
-
"lint:fix": "eslint --fix .",
|
|
35
|
-
"format": "prettier --write .",
|
|
36
|
-
"prepublishOnly": "pnpm build"
|
|
37
|
-
},
|
|
38
|
-
"packageManager": "pnpm@10.5.0",
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=20.0.0",
|
|
41
|
-
"pnpm": ">=9.0.0"
|
|
42
|
-
},
|
|
43
34
|
"peerDependencies": {
|
|
44
35
|
"@types/node": ">=20.0.0",
|
|
45
36
|
"typescript": ">=5.0.0"
|
|
@@ -53,13 +44,19 @@
|
|
|
53
44
|
}
|
|
54
45
|
},
|
|
55
46
|
"devDependencies": {
|
|
56
|
-
"@hypernym/bundler": "^0.14.
|
|
57
|
-
"@hypernym/eslint-config": "^3.
|
|
58
|
-
"@hypernym/prettier-config": "^3.2.
|
|
59
|
-
"@hypernym/tsconfig": "^2.6.
|
|
60
|
-
"@types/node": "^22.
|
|
61
|
-
"eslint": "^9.
|
|
62
|
-
"prettier": "^3.
|
|
63
|
-
"typescript": "^5.
|
|
47
|
+
"@hypernym/bundler": "^0.14.4",
|
|
48
|
+
"@hypernym/eslint-config": "^3.6.3",
|
|
49
|
+
"@hypernym/prettier-config": "^3.2.6",
|
|
50
|
+
"@hypernym/tsconfig": "^2.6.1",
|
|
51
|
+
"@types/node": "^22.17.2",
|
|
52
|
+
"eslint": "^9.33.0",
|
|
53
|
+
"prettier": "^3.6.2",
|
|
54
|
+
"typescript": "^5.9.2"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"build": "hyperbundler",
|
|
58
|
+
"lint": "eslint .",
|
|
59
|
+
"lint:fix": "eslint --fix .",
|
|
60
|
+
"format": "prettier --write ."
|
|
64
61
|
}
|
|
65
|
-
}
|
|
62
|
+
}
|