colors 1.1.1 → 1.1.2
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 +4 -3
- package/package.json +1 -1
package/ReadMe.md
CHANGED
@@ -166,12 +166,13 @@ console.log(colors.warn("this is a warning"));
|
|
166
166
|
You can also combine them:
|
167
167
|
|
168
168
|
```javascript
|
169
|
+
var colors = require('colors');
|
170
|
+
|
169
171
|
colors.setTheme({
|
170
|
-
|
172
|
+
custom: ['red', 'underline']
|
171
173
|
});
|
172
174
|
|
173
|
-
|
174
|
-
console.log(colors.info('Listening on ') + colors.link('http://0.0.0.0:' + port));
|
175
|
+
console.log('test'.custom);
|
175
176
|
```
|
176
177
|
|
177
178
|
*Protip: There is a secret undocumented style in `colors`. If you find the style you can summon him.*
|
package/package.json
CHANGED