*nix Programming Mammals

    atm-tip

    1.0.2 • Public • Published

    atm-tip

    node.js程序中的提示

    安装

    npm install atm-tip --save
    

    使用

    var tip = require('atm-tip');
     
    tip.ok(msg);       // 正确提示           [green]
    tip.info(msg);     // 一般性提示         [cyan]
    tip.warn(msg);     // 警告              [yellow]
    tip.error(msg);    // 出错提示           [red]
    tip.exit(msg);     // 出错提示并结束进程   [red]
     

    git remote set-url origin https://songjinshi@github.com/songjinshi/frameworktools.git git remote set-url atmjs https://github.com/atmjs/atm-tip.git

    Keywords

    Install

    npm i atm-tip

    DownloadsWeekly Downloads

    2

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • vaseala.com