mongio

    2.0.2 • Public • Published

    mongio

    wrapper for promised-mongo, and socket.io.

    Re-Check update,save,remove,find,findOne,chkpasswd

    Install

    npm install mongio
    

    How To Use

    add the client version mongio-client. and you are ready to run!

    require inside your socket.io definition :

    io.on 'connection',(socket)->
        require('mongio')(socket,address)

    no need to do this ... like always is your choice.

    io.of('/coolurlname').on 'connection',(socket)-> require('mongio')(socket,address)
    • pass the socket
    • address = ipaddress of your db
    require('mongio')(socket,'127.0.0.1')

    Install

    npm i mongio

    DownloadsWeekly Downloads

    1

    Version

    2.0.2

    License

    MIT

    Last publish

    Collaborators

    • cjaburto