2.0.2 • Published 10 years ago

mongio v2.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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('/collurlname').on 'connection',(socket)-> require('mongio')(socket,address)
  • pass the socket
  • address = ipaddress of your db
require('mongio')(socket,'127.0.0.1')
2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.2

10 years ago

1.0.0

10 years ago