Caterpillar is the ultimate logging system for Deno, Node.js, and Web Browsers. Log levels are implemented to the RFC standard. Log entries can be filtered and piped to various streams, including coloured output to the terminal, the browser's console, and debug files. You can even write your own transforms.
- Install:
npm install --save caterpillar
- Import:
import * as pkg from ('caterpillar')
- Require:
const pkg = require('caterpillar')
import * as pkg from 'https://unpkg.com/caterpillar@^6.2.0/edition-deno/index.ts'
<script type="module">
import * as pkg from '//cdn.skypack.dev/caterpillar@^6.2.0'
</script>
<script type="module">
import * as pkg from '//unpkg.com/caterpillar@^6.2.0'
</script>
<script type="module">
import * as pkg from '//dev.jspm.io/caterpillar@6.2.0'
</script>
This package is published with the following editions:
-
caterpillar
aliasescaterpillar/index.cjs
which uses the Editions Autoloader to automatically select the correct edition for the consumer's environment -
caterpillar/source/index.ts
is TypeScript source code with Import for modules -
caterpillar/edition-esnext/index.js
is TypeScript compiled against ESNext for Node.js 14 with Require for modules -
caterpillar/edition-es2019/index.js
is TypeScript compiled against ES2019 for Node.js 10 || 12 || 13 || 14 with Require for modules -
caterpillar/edition-browsers/index.js
is TypeScript compiled against ES2019 for web browsers with Import for modules -
caterpillar/edition-node-esm/index.js
is TypeScript compiled against ESNext for Node.js with Import for modules -
caterpillar/edition-deno/index.ts
is TypeScript source code made to be compatible with Deno
Discover the release history by heading on over to the HISTORY.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
- Benjamin Lupton — view contributions
- Tim Helfensdörfer — view contributions
- t-visualappeal — view contributions
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Unless stated otherwise all works are:
- Copyright © 2012+ Bevry Pty Ltd
- Copyright © 2011 Benjamin Lupton
and licensed under: