Skip to content

GivenCui/node-debug-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-debug-console

a debug tool beautifying console.log in node environment

Install

npm install node-debug-console

Usage

const {
    print,
    println,
    setPrintConfig
} = require('./index.js') 


print('bar1')

println('bar2')

// 设置参考路径
setPrintConfig({
    context: '../'
})
println('foo1')

// 设置一行显示时的宽度
setPrintConfig({
    contentLength: 50
})
print('foo2')

mov

Contributors

License

MIT

About

a debug tool beautifying console.log in node environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published