lowtide

NodeJS file logger.

Usage no npm install needed!

<script type="module">
  import lowtide from 'https://cdn.skypack.dev/lowtide';
</script>

README

Lowtide

NodeJS file logger.

Features:

  • Extremely minimal and fast, no dependencies
  • Logs to file asynchronously
  • Supports formatted logging of arrays, objects and dates

Install

npm i lowtide

Usage

// Require
const lowtide = require('lowtide')

// Init logger on this file
const log = lowtide('file.log')

// Log string
log('Something happened!')

// Log object
log({ name: 'something' })

MIT Licensed. Enjoy!