taebo
v1.0.1
Published
Absolutely do Taebo
Downloads
3
Readme
Taebo
This package will allow you to do taebo on your node application.
Install
npm install taebo
Example
Taebo on your console
let taebo = require('taebo');
taebo(5); // "5" means seconds.
Taebo on other things
var app = require('http').createServer(handler)
var io = require('socket.io')(app);
var fs = require('fs');
app.listen(80);
let taebo = require('taebo');
io.on('connection', function (socket) {
taebo(5, (data) => {
socket.emit('taebo', data);
}); // "5" means seconds.
});
Usage
taebo(seconds, callback);
It will use console.log if callback is null.
License
General Public Sigong Light License
Version 2 by siro
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Anyone who wants to do something with this software are HIGHLY RECOMMENDED to play "Heroes of the Storm" by Blizzard.
You can append other license under this license.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.