Miss any of our Open RFC calls?Watch the recordings here! »

caterpillar

6.5.0 • Public • Published

Caterpillar

Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
GitHub Sponsors donate button Patreon donate button Flattr donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button Wishlist browse button

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.

Usage

Complete API Documentation.

Examples

Install

npm

  • Install: npm install --save caterpillar
  • Import: import * as pkg from ('caterpillar')
  • Require: const pkg = require('caterpillar')

Deno

import * as pkg from 'https://unpkg.com/caterpillar@^6.5.0/edition-deno/index.ts'

Skypack

<script type="module">
    import * as pkg from '//cdn.skypack.dev/caterpillar@^6.5.0'
</script> 

unpkg

<script type="module">
    import * as pkg from '//unpkg.com/caterpillar@^6.5.0'
</script> 

jspm

<script type="module">
    import * as pkg from '//dev.jspm.io/caterpillar@6.5.0'
</script> 

Editions

This package is published with the following editions:

  • caterpillar aliases caterpillar/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-browsers/index.js is TypeScript compiled against ES2019 for web browsers 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-es2019-esm/index.js is TypeScript compiled against ES2019 for Node.js 12 || 13 || 14 with Import for modules
  • caterpillar/edition-deno/index.ts is TypeScript source code made to be compatible with Deno

History

Discover the release history by heading on over to the HISTORY.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

GitHub Sponsors donate button Patreon donate button Flattr donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button Wishlist browse button

Contributors

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

License

Unless stated otherwise all works are:

and licensed under:

Install

npm i caterpillar

DownloadsWeekly Downloads

8,005

Version

6.5.0

License

MIT

Unpacked Size

156 kB

Total Files

58

Last publish

Collaborators

  • avatar
  • avatar