core.node.colors

adds basic colours for String.prototype

Usage no npm install needed!

<script type="module">
  import coreNodeColors from 'https://cdn.skypack.dev/core.node.colors';
</script>

README

core.node.colors

adds basic colours for String.prototype

Usage

core.plugin([
    require('core.node.colors')
]);

console.log('in blue'.blue);

Supported colors

This tiny plugin only supports the basic text colors: red, green, yellow, purple, blue, cyan, grey.