xiaoi

0.1.2 • Public • Published

node.js 的小I机器人客户端

Usage

  • In command line terminate

    npm i xiaoi -g
    xiaoi
    
  • In your node project

    var XiaoI = require('xiaoi') ;
    client = XiaoI
    
    // connect to xiaoi.com
    client.connect(function(error){
    
        // send words and waiting for reply
        client.send("hello robot",function(error,reply){
            console.log ('xiaoi say:', replay.body.content) ;
        }) ;
    
    }) ;

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0
  • 0.0.3
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i xiaoi

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • aleechou