Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

egoist/typelog-node-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typelog

NPM version NPM download David Status

Imagine logging everything in your console with a type.

preview

Usage

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 © EGOIST.

About

console.log with types

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published