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.
Files changed (2) hide show
  1. package/ReadMe.md +4 -3
  2. 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
- link: ['underline', 'blue']
172
+ custom: ['red', 'underline']
171
173
  });
172
174
 
173
- // outputs underlined blue text
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "colors",
3
3
  "description": "get colors in your node.js console",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "author": "Marak Squires",
6
6
  "homepage": "https://github.com/Marak/colors.js",
7
7
  "bugs": "https://github.com/Marak/colors.js/issues",