couleurs 6.0.10 → 6.0.12
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 +1 -1
- package/README.md +139 -37
- package/package.json +4 -2
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-25 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,18 +1,56 @@
|
|
|
1
1
|
<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
4
10
|
[](#)
|
|
5
11
|
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# couleurs
|
|
7
23
|
|
|
8
|
-
[![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [](https://github.com/IonicaBizau/ama) [](https://travis-ci.org/IonicaBizau/node-couleurs/) [](https://www.npmjs.com/package/couleurs) [](https://www.npmjs.com/package/couleurs) [](https://www.codementor.io
|
|
24
|
+
[![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [](https://github.com/IonicaBizau/ama) [](https://travis-ci.org/IonicaBizau/node-couleurs/) [](https://www.npmjs.com/package/couleurs) [](https://www.npmjs.com/package/couleurs) [](https://www.codementor.io/@johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)
|
|
9
25
|
|
|
10
26
|
<a href="https://www.buymeacoffee.com/H96WwChMy" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee"></a>
|
|
11
27
|
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
12
34
|
> Add some color and styles to your Node.JS strings.
|
|
13
35
|
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
14
46
|
[](#)
|
|
15
47
|
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
16
54
|
## :cloud: Installation
|
|
17
55
|
|
|
18
56
|
```sh
|
|
@@ -24,6 +62,17 @@ yarn add couleurs
|
|
|
24
62
|
```
|
|
25
63
|
|
|
26
64
|
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
27
76
|
## :clipboard: Example
|
|
28
77
|
|
|
29
78
|
|
|
@@ -68,17 +117,31 @@ console.log("All combined"
|
|
|
68
117
|
|
|
69
118
|
|
|
70
119
|
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
71
129
|
## :question: Get Help
|
|
72
130
|
|
|
73
131
|
There are few ways to get help:
|
|
74
132
|
|
|
133
|
+
|
|
134
|
+
|
|
75
135
|
1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
|
|
76
136
|
2. For bug reports and feature requests, open issues. :bug:
|
|
77
|
-
|
|
78
137
|
3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:
|
|
79
138
|
|
|
80
139
|
|
|
81
140
|
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
82
145
|
## :memo: Documentation
|
|
83
146
|
|
|
84
147
|
|
|
@@ -86,7 +149,7 @@ There are few ways to get help:
|
|
|
86
149
|
|
|
87
150
|
#### Params
|
|
88
151
|
|
|
89
|
-
- **Boolean** `setStringProto`: If `true`, the prototype of String class will be modified.
|
|
152
|
+
- **Boolean|undefined** `setStringProto`: If `true`, the prototype of String class will be modified.
|
|
90
153
|
- **String|Array** `fg`: An optional foreground color.
|
|
91
154
|
|
|
92
155
|
#### Return
|
|
@@ -113,12 +176,22 @@ Modifies the `String` prototype to contain the `Couleurs` methods.
|
|
|
113
176
|
|
|
114
177
|
|
|
115
178
|
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
116
190
|
## :yum: How to contribute
|
|
117
191
|
Have an idea? Found a bug? See [how to contribute][contributing].
|
|
118
192
|
|
|
119
193
|
|
|
120
194
|
## :sparkling_heart: Support my projects
|
|
121
|
-
|
|
122
195
|
I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,
|
|
123
196
|
this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).
|
|
124
197
|
|
|
@@ -137,53 +210,82 @@ However, if you get some profit from this or just want to encourage me to contin
|
|
|
137
210
|
Thanks! :heart:
|
|
138
211
|
|
|
139
212
|
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
140
227
|
## :dizzy: Where is this library used?
|
|
141
228
|
If you are using this library in one of your projects, add it in this list. :sparkles:
|
|
142
229
|
|
|
230
|
+
- `3abn`
|
|
231
|
+
- `@phaticusthiccy/image-to-text`
|
|
232
|
+
- `@well-crafted/git-unsaved`
|
|
233
|
+
- `asciify-image`
|
|
234
|
+
- `asciify-pixel`
|
|
235
|
+
- `bible`
|
|
236
|
+
- `birthday`
|
|
237
|
+
- `bloggify-tools`
|
|
238
|
+
- `bug-killer`
|
|
239
|
+
- `cli-confeti`
|
|
240
|
+
- `cli-confetti`
|
|
241
|
+
- `cli-gh-cal`
|
|
242
|
+
- `cli-github`
|
|
243
|
+
- `cli-pie`
|
|
244
|
+
- `cli-sunset`
|
|
245
|
+
- `closeheat`
|
|
246
|
+
- `color-it`
|
|
247
|
+
- `csk-cli`
|
|
248
|
+
- `cute-logger`
|
|
249
|
+
- `fb-falafel`
|
|
250
|
+
- `git-issues`
|
|
251
|
+
- `git-issues1`
|
|
252
|
+
- `git-stats-colors`
|
|
253
|
+
- `git-unsaved`
|
|
254
|
+
- `github-emojify`
|
|
255
|
+
- `github-stats`
|
|
256
|
+
- `idea`
|
|
257
|
+
- `image-asciify-cli`
|
|
258
|
+
- `overlap`
|
|
259
|
+
- `terminal-rush`
|
|
260
|
+
- `tithe`
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
143
270
|
|
|
144
|
-
- [`3abn`](https://github.com/IonicaBizau/3abn#readme)—A 3ABN radio client in the terminal.
|
|
145
|
-
- [`asciify-image`](https://github.com/ajay-gandhi/asciify-image) (by Ajay Gandhi)—Convert images to ASCII art without native dependencies
|
|
146
|
-
- [`asciify-pixel`](https://github.com/IonicaBizau/asciify-pixel#readme)—Asciifies a pixel object.
|
|
147
|
-
- [`bible`](https://github.com/BibleJS/BibleApp)—Read the Holy Bible via the command line.
|
|
148
|
-
- [`birthday`](https://github.com/IonicaBizau/birthday)—Know when a friend's birthday is coming.
|
|
149
|
-
- [`bloggify-tools`](https://github.com/Bloggify/bloggify-tools)—Interactive command line tool to help you win at Bloggify.
|
|
150
|
-
- [`bug-killer`](https://github.com/IonicaBizau/node-bug-killer)—Simple way to log messages in stdout or other stream.
|
|
151
|
-
- [`cli-confeti`](https://github.com/IonicaBizau/cli-confeti#readme)—Confeti in your terminal.
|
|
152
|
-
- [`cli-confetti`](https://github.com/IonicaBizau/cli-confetti#readme)—Confetti in your terminal.
|
|
153
|
-
- [`cli-gh-cal`](https://github.com/IonicaBizau/cli-gh-cal)—GitHub like calendar graphs in command line.
|
|
154
|
-
- [`cli-github`](https://github.com/IonicaBizau/cli-github)—A fancy GitHub client for command line.
|
|
155
|
-
- [`cli-pie`](https://github.com/IonicaBizau/node-cli-pie)—Generate pie charts in terminal and text mode.
|
|
156
|
-
- [`cli-sunset`](https://github.com/IonicaBizau/cli-sunset)—A fancy command line tool for knowing the sunset time.
|
|
157
|
-
- [`closeheat`](https://github.com/closeheat/cli) (by Domas Bitvinskas)—Static Website Hosting with CMS without touching your code.
|
|
158
|
-
- [`color-it`](https://github.com/IonicaBizau/node-color-it#readme)—Flat colors for your Node.js strings.
|
|
159
|
-
- [`csk-cli`](https://github.com/joshumax/csk-cli) (by Josh Max)—A command-line client to ClearDarkSky.com, written in Node.js
|
|
160
|
-
- [`cute-logger`](https://github.com/IonicaBizau/cute-logger)—Simple way to log messages in stdout or other stream.
|
|
161
|
-
- [`fb-falafel`](https://fb-falafel.ml) (by Ajay and Kevin)—Facebook for the 1337
|
|
162
|
-
- [`git-issues`](https://github.com/softwarescales/git-issues) (by Gabriel Petrovay)—Git issues extension to list issues of a Git project
|
|
163
|
-
- [`git-issues1`](https://github.com/softwarescales/git-issues) (by Gabriel Petrovay)—Git issues extension to list issues of a Git project
|
|
164
|
-
- [`git-stats-colors`](https://github.com/IonicaBizau/node-git-stats-colors)—Adds colors to the git-stats inputs.
|
|
165
|
-
- [`git-unsaved`](https://github.com/IonicaBizau/git-unsaved#readme)—Scan your projects directory for dirty git repositories.
|
|
166
|
-
- [`github-emojify`](https://github.com/IonicaBizau/github-emojify#readme)—Emojify your GitHub repository descriptions.
|
|
167
|
-
- [`github-stats`](https://github.com/IonicaBizau/github-stats)—Visualize stats about GitHub users and projects in your terminal.
|
|
168
|
-
- [`idea`](https://github.com/IonicaBizau/idea)—A lightweight CLI tool and module for keeping ideas in a safe place quick and easy.
|
|
169
|
-
- [`overlap`](https://github.com/IonicaBizau/node-overlap)—Overlap two strings that contain new lines. Useful for ASCII drawings.
|
|
170
|
-
- [`tithe`](https://github.com/IonicaBizau/tithe)—Organize and track the tithe payments.
|
|
171
271
|
|
|
172
272
|
## :scroll: License
|
|
173
273
|
|
|
174
274
|
[MIT][license] © [Ionică Bizău][website]
|
|
175
275
|
|
|
176
276
|
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
[license]: /LICENSE
|
|
282
|
+
[website]: https://ionicabizau.net
|
|
283
|
+
[contributing]: /CONTRIBUTING.md
|
|
284
|
+
[docs]: /DOCUMENTATION.md
|
|
177
285
|
[badge_patreon]: https://ionicabizau.github.io/badges/patreon.svg
|
|
178
286
|
[badge_amazon]: https://ionicabizau.github.io/badges/amazon.svg
|
|
179
287
|
[badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg
|
|
180
288
|
[badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg
|
|
181
|
-
|
|
182
289
|
[patreon]: https://www.patreon.com/ionicabizau
|
|
183
290
|
[amazon]: http://amzn.eu/hRo9sIZ
|
|
184
291
|
[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW
|
|
185
|
-
|
|
186
|
-
[license]: http://showalicense.com/?fullname=Ionic%C4%83%20Biz%C4%83u%20%3Cbizauionica%40gmail.com%3E%20(https%3A%2F%2Fionicabizau.net)&year=2014#license-mit
|
|
187
|
-
[website]: https://ionicabizau.net
|
|
188
|
-
[contributing]: /CONTRIBUTING.md
|
|
189
|
-
[docs]: /DOCUMENTATION.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "couleurs",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.12",
|
|
4
4
|
"description": "Add some color and styles to your Node.JS strings.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -51,8 +51,10 @@
|
|
|
51
51
|
"menu/",
|
|
52
52
|
"cli.js",
|
|
53
53
|
"index.js",
|
|
54
|
+
"index.d.ts",
|
|
55
|
+
"package-lock.json",
|
|
54
56
|
"bloggify.js",
|
|
55
57
|
"bloggify.json",
|
|
56
58
|
"bloggify/"
|
|
57
59
|
]
|
|
58
|
-
}
|
|
60
|
+
}
|