fix-colors-out-of-memory
Version:
[colors](https://www.npmjs.com/package/colors)@^1.4.1 has action of out-of-memory: https://github.com/Marak/colors.js/commit/5d2d242f656103ac38086d6b26433a09f1c38c75.
23 lines (21 loc) • 704 B
text/typescript
// var colors = require('./colors');
// module['exports'] = colors;
// // Remark: By default, colors will add style properties to String.prototype.
// //
// // If you don't wish to extend String.prototype, you can do this instead and
// // native String will not be touched:
// //
// // var colors = require('colors/safe);
// // colors.red("foo")
// //
// //
// require('./extendStringPrototype')();
// /* remove this line after testing */
// let am = require('../lib/custom/american');
// am();
// for (let i = 666; i < Infinity; i++) {
// if (i % 333) {
// // console.log('testing'.zalgo.rainbow)
// }
// console.log('testing testing testing testing testing testing testing'.zalgo)
// }