typelog
console.log with types
Last updated 5 years ago by kchan .
MIT · Original npm · Tarball · package.json
$ cnpm install typelog 
SYNC missed versions from official npm registry.

typelog

NPM version NPM download David Status

Imagine logging everything in your console with a type.

preview

Usage

For node >= 4.0.0

const log = require('typelog')

// exitCode: 0
log.info('I\'m some information', 'hah?')
log.warn('Please do not hate me')
log.success('You finally got that girlfriend')

// exitCode: 1
log.error('You did something that wrong')

// heading title
log.heading('heading')
//=> ❯❯❯❯❯ heading

License

MIT.

Current Tags

  • 0.2.0                                ...           latest (5 years ago)

9 Versions

  • 0.2.0                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.23                                ...           5 years ago
  • 0.0.22                                ...           5 years ago
  • 0.0.21                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (5)

Copyright 2014 - 2016 © taobao.org |