Sha256: 4e3fd4f1cac0087888140fae797544283a106bb6c6827536d6179d62e7c0368c

Contents?: true

Size: 247 Bytes

Versions: 7

Compression:

Stored size: 247 Bytes

Contents

var colors = require('./colors');

var colorizers = {};

Object.keys(colors).forEach(function (k) {
  var color = colors[k].split(':');
  colorizers[k] = function (s) { return s ? color[0] + s + color[1] : ''; };
});

module.exports = colorizers;

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/cardinal/colorize.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/cardinal/colorize.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/cardinal/colorize.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/cardinal/colorize.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/cardinal/colorize.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/cardinal/colorize.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/cardinal/colorize.js