node package manager

timber

Timber.io node client.

Timber Node

CircleCI Coverage Status npm version ISC License

Usage

var timber = require('timber');
timber.install({ apiKey: 'your-api-key', ...options });

npm scripts

watch - starts file watcher

lint - runs eslint on /src

test - runs tests and formats piped output with Jest.

build - compiles src files into the dist folder, consumable by npm.

Publishing

When you are ready to publish a new version of your module, the following steps can be used:

  1. add and commit your changes via git
  2. npm version patch -m "Ugrade message..."
  3. npm publish

If publish is a success, the postpublish npm script will run git push origin master --follow-tags, pushing up and tagging your code properly.

If you run npm version patch before committing your changes, you'll get a message like npm ERR! Git working directory not clean.. Commit and retry.

Timber Specific

🌲 Timber - Master your Node apps with structured logging