Natural Potato Magnet

    protocol.io

    0.3.4 • Public • Published

    protocol.io

    npm Build Status

    protocol.io is a simple socket server which sending and recieving data with protocol buffers.The project is inspired by socket.io

    Installation

    npm install protobuf.io --save or yarn add protobuf.io

    How to use

    var server = require('protobuf.io')({port: 3000, protocolPath: 'main.proto'})
    
    server.on('error', error => {
      console.error(error)
    })
    
    server.on('listening', () => {
      console.log('Listening port:', server.port)
    })
    server.start()
    

    UNDER CONSTRUCTION

    Install

    npm i protocol.io

    DownloadsWeekly Downloads

    0

    Version

    0.3.4

    License

    ISC

    Unpacked Size

    14 kB

    Total Files

    15

    Last publish

    Collaborators

    • aspirin2d