Nationwide Polamorous Matrimony

    @gem-mine/console
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    Console

    一个更好的终端打印工具:

    • 开发模式下显示 [级别] 日期 日志内容 (所在文件与行数)
    • 非开发模式下,不往终端输出

    install

    npm i @gem-mine/console -S
    

    useage

    import Console from '@gem-mine/console'
    
    // 只在 development 条件下开启友好的终端提示
    Console.config({
      debug: process.env.NODE_ENV === 'development'
    })

    Install

    npm i @gem-mine/console

    DownloadsWeekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • gylllll
    • janya
    • githoniel
    • amazebird
    • mraiguo
    • guoyh
    • wengzp
    • caolvchong