kyaos
v0.4.10
Published
A pipeline stream server for sending data via json and websockets
Downloads
4
Maintainers
Readme
#Description: ##This is a package used for easy sending via websockets to send data from the Server ##to the Client. ##You input data into the function given and the client will listen for it when called.
#Usage:
kyaos.connect('ws://www.yourwebsite.ext', 'port');
kyaos.send(data);
function callback(){
console.log(callback);
}
kyaos.listen(callback());
kyoas.close(code, reason);
#---====--- data in kyaos.send(data); -> same data format used by ws npm package. code in kyoas.close
#How can you help? ######You can help by using my NPM package and spreading the word about it, suggesting it to friend ######and saying good things about it, this is my first package, but I plan on making it better and or ######making more packages.