文件名称:console.star:为 console.log 提供一种简单的方法,用“stars”包裹控制台
文件大小:3KB
文件格式:ZIP
更新时间:2024-07-19 08:59:47
JavaScript
控制台之星 Console.star 是一个辅助函数,用于调用 console.log 并在日志前/后附加星号 安装: npm install console.star --save-dev 用法: console . star ( 'Hello %s' , 'World' ) ; // Result: // *************** // *************** // Hello World // *************** // *************** 更新默认值: console . starOptions = { 'starString' : '***************' , // Update the stars 'lines' : 2 , // Update the number of lines the stars appe
【文件预览】:
console.star-master
----.gitignore(21B)
----package.json(709B)
----Gruntfile.js(302B)
----index.js(1012B)
----README.md(585B)
----test()
--------index.js(2KB)