Package Exports
- manakin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (manakin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
manakin
Throw in some red and yellow to your console with the minimum of code -
it patches console.error and console.warn to use red and yellow colors.
You can start using it without using it: the default console.error and console.warn are already there,
and will be colored after you add manakin.
minimum code ✔ no dependencies ✔ uni-platform ✔
Installing
$ npm install manakin --saveUsage
Node.js:
require('manakin');Browsers:
<script src="manakin.js"></script>Examples:
console.warn(val1, val2, ...);
console.error(val1, val2, ...);In browsers, it sets console.error and console.warn only when they are undefined.
License
Copyright © 2016 Vitaly Tomilov; Released under the MIT license.