Logo
Explore Help
Sign In
flynx/colors.js
1
0
Fork 0
You've already forked colors.js
mirror of https://github.com/flynx/colors.js.git synced 2025-10-29 19:10:10 +00:00
Code Issues Packages Projects Releases Wiki Activity
colors.js/lib/index.js

14 lines
369 B
JavaScript
Raw Normal View History

[refactor] [major] Code cleanup. Node has changed a bit since 2010. [api] Added ability to safely require colors without messing with String.prototype [api] Removed browser functionality [dist] Add travis file
2014-09-30 22:41:24 +02:00
var colors = require('./colors');
module['exports'] = colors;
Add ESLint and lint all files; add lint check to CI
2018-04-30 14:59:34 -07:00
// Remark: By default, colors will add style properties to String.prototype.
[refactor] [major] Code cleanup. Node has changed a bit since 2010. [api] Added ability to safely require colors without messing with String.prototype [api] Removed browser functionality [dist] Add travis file
2014-09-30 22:41:24 +02:00
//
Add ESLint and lint all files; add lint check to CI
2018-04-30 14:59:34 -07:00
// If you don't wish to extend String.prototype, you can do this instead and
// native String will not be touched:
[refactor] [major] Code cleanup. Node has changed a bit since 2010. [api] Added ability to safely require colors without messing with String.prototype [api] Removed browser functionality [dist] Add travis file
2014-09-30 22:41:24 +02:00
//
// var colors = require('colors/safe);
// colors.red("foo")
//
//
Add ESLint and lint all files; add lint check to CI
2018-04-30 14:59:34 -07:00
require('./extendStringPrototype')();
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1208ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API

Powered by TurnKey Linux.