{"_id":"connect-livereload","_rev":"238065","name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","dist-tags":{"latest":"0.6.1"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"time":{"modified":"2021-06-03T15:53:05.000Z","created":"2013-04-16T07:33:44.589Z","0.6.1":"2018-12-20T13:42:58.845Z","0.6.0":"2016-09-12T19:45:52.034Z","0.5.4":"2015-11-24T21:01:41.874Z","0.5.3":"2015-02-13T07:50:26.480Z","0.5.2":"2014-11-25T20:14:45.551Z","0.5.1":"2014-11-24T17:13:35.573Z","0.5.0":"2014-10-16T14:37:41.472Z","0.4.1":"2014-10-16T14:27:31.987Z","0.4.0":"2014-04-11T15:49:47.026Z","0.3.2":"2014-01-04T16:06:19.053Z","0.3.1":"2013-12-11T08:18:38.587Z","0.3.0":"2013-09-12T15:50:40.112Z","0.2.0":"2013-06-04T13:01:26.578Z","0.1.4":"2013-05-18T18:42:15.324Z","0.1.3":"2013-05-05T20:16:43.201Z","0.1.2":"2013-05-04T18:21:45.604Z","0.1.1":"2013-05-01T09:33:06.882Z","0.1.0":"2013-04-23T09:27:33.380Z","0.0.3":"2013-04-19T08:47:35.171Z","0.0.2":"2013-04-16T07:33:44.589Z"},"users":{"jalcine":true,"gnerkus":true,"skyborn":true,"weijarz":true,"csbun":true,"raiseandfall":true,"tzsiga":true,"fkamani":true,"thierrymarianne":true,"zhanghaili":true,"rdesoky":true,"maxz":true,"igsys":true,"akodevs":true,"drewigg":true,"larrychen":true,"zhangguoqun":true,"rubiadias":true},"author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload.git"},"versions":{"0.6.1":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.6.1","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"scripts":{"test":"mocha --reporter spec"},"dependencies":{},"devDependencies":{"connect":"^3.3.4","express":"~4.11.2","mocha":"~2.1.0","serve-static":"^1.8.1","supertest":"~0.15.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload.git"},"main":"index","license":"MIT","engines":{"node":"*"},"gitHead":"7c6ca1f974908df4f8c236c73f365e24e1192a9f","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload#readme","_id":"connect-livereload@0.6.1","_npmVersion":"6.4.1","_nodeVersion":"10.14.0","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"dist":{"shasum":"1ac0c8bb9d9cfd5b28b629987a56a9239db9baaa","size":5211,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.6.1.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/connect-livereload_0.6.1_1545313378731_0.9729435783073668"},"_hasShrinkwrap":false,"publish_time":1545313378845,"_cnpm_publish_time":1545313378845},"0.6.0":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.6.0","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"scripts":{"test":"mocha --reporter spec"},"dependencies":{},"devDependencies":{"connect":"^3.3.4","express":"~4.11.2","mocha":"~2.1.0","serve-static":"^1.8.1","supertest":"~0.15.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload.git"},"main":"index","license":"MIT","engines":{"node":"*"},"gitHead":"13a8cca3192dc077f01e5681cd393681f9e6b060","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload#readme","_id":"connect-livereload@0.6.0","_shasum":"f9f009874ad6837183afb170b4c4e3857a1d7ceb","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.6","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"dist":{"shasum":"f9f009874ad6837183afb170b4c4e3857a1d7ceb","size":5222,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.6.0.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/connect-livereload-0.6.0.tgz_1473709550172_0.570001567248255"},"directories":{},"publish_time":1473709552034,"_cnpm_publish_time":1473709552034,"_hasShrinkwrap":false},"0.5.4":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.5.4","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"scripts":{"test":"mocha --reporter spec"},"dependencies":{},"devDependencies":{"connect":"^3.3.4","express":"~4.11.2","mocha":"~2.1.0","serve-static":"^1.8.1","supertest":"~0.15.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload.git"},"main":"index","license":"MIT","engines":{"node":"*"},"gitHead":"b5f49da7de780aad868e07870b6372c164b45101","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload#readme","_id":"connect-livereload@0.5.4","_shasum":"80157d1371c9f37cc14039ab1895970d119dc3bc","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"dist":{"shasum":"80157d1371c9f37cc14039ab1895970d119dc3bc","size":4989,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.5.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.5.4.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1448398901874,"_cnpm_publish_time":1448398901874,"_hasShrinkwrap":false},"0.5.3":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.5.3","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"scripts":{"test":"mocha --reporter spec"},"dependencies":{},"devDependencies":{"connect":"^3.3.4","express":"~4.11.2","mocha":"~2.1.0","serve-static":"^1.8.1","supertest":"~0.15.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"gitHead":"09889e2b35b2398dcc20b39e26e0c49b59575b95","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload","_id":"connect-livereload@0.5.3","_shasum":"cd2040a959b1d9caf94fec6c05a775b813b43f6e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"dist":{"shasum":"cd2040a959b1d9caf94fec6c05a775b813b43f6e","size":9188,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.5.3.tgz"},"directories":{},"publish_time":1423813826480,"_cnpm_publish_time":1423813826480,"_hasShrinkwrap":false},"0.5.2":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.5.2","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"scripts":{"test":"mocha --reporter spec"},"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.15.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"gitHead":"c0f6c7475c8cbefe32fd4f39b26c7f52f179315e","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload","_id":"connect-livereload@0.5.2","_shasum":"476878c372dd84ef99081f3fd36aa36a7aaef2aa","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"dist":{"shasum":"476878c372dd84ef99081f3fd36aa36a7aaef2aa","size":4648,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.5.2.tgz"},"directories":{},"publish_time":1416946485551,"_cnpm_publish_time":1416946485551,"_hasShrinkwrap":false},"0.5.1":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.5.1","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"scripts":{"test":"mocha --reporter spec"},"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"gitHead":"b79dedd00d4721d5c4de2000ee349fe1db1d78e3","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload","_id":"connect-livereload@0.5.1","_shasum":"2b5169b0c1a4e7449d71223baa371742fd4f58dc","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"dist":{"shasum":"2b5169b0c1a4e7449d71223baa371742fd4f58dc","size":4655,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.5.1.tgz"},"directories":{},"publish_time":1416849215573,"_cnpm_publish_time":1416849215573,"_hasShrinkwrap":false},"0.5.0":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.5.0","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"scripts":{"test":"mocha --reporter spec"},"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"gitHead":"4986babad7a37f4d3dbac233474646146468955b","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload","_id":"connect-livereload@0.5.0","_shasum":"8d148021b131bebdefb14af4ea817b76d5422502","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"dist":{"shasum":"8d148021b131bebdefb14af4ea817b76d5422502","size":4665,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.5.0.tgz"},"directories":{},"publish_time":1413470261472,"_cnpm_publish_time":1413470261472,"_hasShrinkwrap":false},"0.4.1":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.4.1","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"scripts":{"test":"mocha --reporter spec"},"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"gitHead":"cac15c971bd8786b2564a1066b6a99bb268cba38","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload","_id":"connect-livereload@0.4.1","_shasum":"0f8a1a816bc9baffae4637ccea917462fe35917a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"dist":{"shasum":"0f8a1a816bc9baffae4637ccea917462fe35917a","size":4450,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.4.1.tgz"},"directories":{},"publish_time":1413469651987,"_cnpm_publish_time":1413469651987,"_hasShrinkwrap":false},"0.4.0":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.4.0","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload","_id":"connect-livereload@0.4.0","dist":{"shasum":"9e5bbef31e7542ef5e12cab742143bbf7636e317","size":4350,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1397231387026,"_cnpm_publish_time":1397231387026,"_hasShrinkwrap":false},"0.3.2":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.3.2","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload","_id":"connect-livereload@0.3.2","dist":{"shasum":"ddb70aa50901d583783662770e3d3b63d7ce40ff","size":4190,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.3.2.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1388851579053,"_cnpm_publish_time":1388851579053,"_hasShrinkwrap":false},"0.3.1":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.3.1","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"homepage":"https://github.com/intesso/connect-livereload","_id":"connect-livereload@0.3.1","dist":{"shasum":"e4622f8742eae86e0aa998785df888cd7ed443f0","size":4156,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1386749918587,"_cnpm_publish_time":1386749918587,"_hasShrinkwrap":false},"0.3.0":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.3.0","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"_id":"connect-livereload@0.3.0","dist":{"shasum":"938334f2211f1f971bbf9f901f31ff9a1d6a3c7a","size":4057,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"andineck","email":"andi.neck@intesso.com"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1379001040112,"_cnpm_publish_time":1379001040112,"_hasShrinkwrap":false},"0.2.0":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.2.0","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"_id":"connect-livereload@0.2.0","dist":{"shasum":"7573cf587846dffd02a3e65e3122b470dd615ec9","size":2911,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.2.0.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1370350886578,"_cnpm_publish_time":1370350886578,"_hasShrinkwrap":false},"0.1.4":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.1.4","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"_id":"connect-livereload@0.1.4","dist":{"shasum":"ef697fbb832c6466697385a5e18ec32927e9fdee","size":2917,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.1.4.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1368902535324,"_cnpm_publish_time":1368902535324,"_hasShrinkwrap":false},"0.1.3":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.1.3","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{"express":"~3.2.2","supertest":"~0.6.0","mocha":"~1.9.0"},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"_id":"connect-livereload@0.1.3","dist":{"shasum":"10c231440170a448c2133ddaf3f07e1e7a55a7a0","size":2907,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.1.3.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1367785003201,"_cnpm_publish_time":1367785003201,"_hasShrinkwrap":false},"0.1.2":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.1.2","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"_id":"connect-livereload@0.1.2","dist":{"shasum":"c67b31cdae1c982aadef06f0dff7ab4cc8c36372","size":2542,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.1.2.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1367691705604,"_cnpm_publish_time":1367691705604,"_hasShrinkwrap":false},"0.1.1":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.1.1","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"_id":"connect-livereload@0.1.1","dist":{"shasum":"47f8752181bcc250934cbbb6402553bbf5fb4ea3","size":2576,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.1.1.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1367400786882,"_cnpm_publish_time":1367400786882,"_hasShrinkwrap":false},"0.1.0":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.1.0","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"_id":"connect-livereload@0.1.0","dist":{"shasum":"750fd1db3dfc8a0c61037ae921977d6e3b7584b4","size":2397,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.1.0.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1366709253380,"_cnpm_publish_time":1366709253380,"_hasShrinkwrap":false},"0.0.3":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.0.3","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"_id":"connect-livereload@0.0.3","dist":{"shasum":"131d1ff2c30276358456a527a5b9ba75ce209f20","size":2442,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.0.3.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1366361255171,"_cnpm_publish_time":1366361255171,"_hasShrinkwrap":false},"0.0.2":{"name":"connect-livereload","description":"connect middleware for adding the livereload script to the response","version":"0.0.2","author":{"name":"Andi Neck","email":"andi.neck@intesso.com"},"contributors":[{"name":"Andi Neck","email":"andi.neck@intesso.com"}],"dependencies":{},"devDependencies":{},"keywords":["connect","livereload","live-reload"],"repository":{"type":"git","url":"git://github.com/intesso/connect-livereload"},"main":"index","engines":{"node":"*"},"_id":"connect-livereload@0.0.2","dist":{"shasum":"db7094ac5c18a8b738a6d274d33f1a80ee71807e","size":2373,"noattachment":false,"key":"/connect-livereload/-/connect-livereload-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/connect-livereload/download/connect-livereload-0.0.2.tgz"},"maintainers":[{"name":"andineck","email":"andi.neck@intesso.com"}],"directories":{},"publish_time":1366097624589,"_cnpm_publish_time":1366097624589,"_hasShrinkwrap":false}},"readme":"\nconnect-livereload\n==================\nconnect middleware for adding the livereload script to the response.\nno browser plugin is needed.\nif you are happy with a browser plugin, then you don't need this middleware.\n\n[![NPM](https://nodei.co/npm/connect-livereload.png?downloads=true&downloadRank=true)](https://nodei.co/npm-dl/connect-livereload/)\n\n\n[![Build Status](https://travis-ci.org/intesso/connect-livereload.png)](https://travis-ci.org/intesso/connect-livereload)\n[![Coverage Status](https://coveralls.io/repos/intesso/connect-livereload/badge.svg)](https://coveralls.io/r/intesso/connect-livereload)\n\n\ninstall\n=======\n```bash\nnpm install connect-livereload --save-dev\n```\n\nuse\n===\nnote: if you use this middleware, you should make sure to switch off the Browser LiveReload Extension if you have it installed.\n\nthis middleware can be used with a LiveReload module e.g. [grunt-contrib-connect](https://github.com/gruntjs/grunt-contrib-connect) or [grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch).\n\n`connect-livereload` itself does not serve the `livereload.js` script.\n\nIn your connect or express application add this after the static and before the dynamic routes.\nIf you need liveReload on static html files, then place it before the static routes.\n`ignore` gives you the possibility to ignore certain files or url's from being handled by `connect-livereload`.\n\n## connect/express example\n```javascript\n  app.use(require('connect-livereload')({\n    port: 35729\n  }));\n```\n\nplease see the [examples](https://github.com/intesso/connect-livereload/tree/master/examples) for the app and Grunt configuration.\n\n## options\nOptions are not mandatory: `app.use(require('connect-livereload')());`\nThe Options have to be provided when the middleware is loaded:\n\ne.g.:\n```\n  app.use(require('connect-livereload')({\n    port: 35729,\n    ignore: ['.js', '.svg']\n  }));\n\n```\n\nThese are the available options with the following defaults:\n\n```javascript\n  // `ignore` and `include`: array with strings and regex expressions elements.\n  // strings: included/ignored when the url contains this string\n  // regex: any expression: e.g. starts with pattern: /^.../ ends with pattern: /...$/\n  ignore: [\n    /\\.js(\\?.*)?$/, /\\.css(\\?.*)?$/, /\\.svg(\\?.*)?$/, /\\.ico(\\?.*)?$/, /\\.woff(\\?.*)?$/,\n    /\\.png(\\?.*)?$/, /\\.jpg(\\?.*)?$/, /\\.jpeg(\\?.*)?$/, /\\.gif(\\?.*)?$/, /\\.pdf(\\?.*)?$/\n  ],\n\n  // include all urls by default\n  include: [/.*/],\n\n  // this function is used to determine if the content of `res.write` or `res.end` is html.\n  html: function (str) {\n    if (!str) return false;\n    return /<[:_-\\w\\s\\!\\/\\=\\\"\\']+>/i.test(str);\n  },\n\n  // rules are provided to find the place where the snippet should be inserted.\n  // the main problem is that on the server side it can be tricky to determine if a string will be valid html on the client.\n  // the function `fn` of the first `match` is executed like this `body.replace(rule.match, rule.fn);`\n  // the function `fn` has got the arguments `fn(w, s)` where `w` is the matches string and `s` is the snippet.\n  rules: [{\n    match: /<\\/body>(?![\\s\\S]*<\\/body>)/i,\n    fn: prepend\n  }, {\n    match: /<\\/html>(?![\\s\\S]*<\\/html>)/i,\n    fn: prepend\n  }, {\n    match: /<\\!DOCTYPE.+?>/i,\n    fn: append\n  }],\n\n  // port where the script is loaded\n  port: 35729,\n\n  // location where the script is provided (not by connect-livereload). Change this e.g. when serving livereload with a proxy.\n  src: \"http://localhost:35729/livereload.js?snipver=1\",\n\n  // Set this option to `true` to set `req.headers['accept-encoding']` to 'identity' (disabling compression)\n  disableCompression: false,\n\n  // Locations where livereload plugins are provided (not by connect-livereload).\n  // These plugins should handle being loaded before _or_ after the livereload\n  // script itself (the order is not guaranteed), like\n  // https://github.com/mixmaxhq/livereload-require-js-includes/blob/5a431793d6fdfcf93d66814ddc58338515a3254f/index.js#L40-L45\n  plugins: [\n    \"http://localhost:3001/livereload-require-js-includes/index.js\"\n  ]\n```\n\nplease see the [examples](https://github.com/intesso/connect-livereload/tree/master/examples) for the app and Grunt configuration.\n\n\n## grunt example\n\nThe following example is from an actual Gruntfile that uses [grunt-contrib-connect](https://github.com/gruntjs/grunt-contrib-connect)\n\n```javascript\nconnect: {\n  options: {\n    port: 3000,\n    hostname: 'localhost'\n  },\n  dev: {\n    options: {\n      middleware: function (connect) {\n        return [\n          require('connect-livereload')(), // <--- here\n          checkForDownload,\n          mountFolder(connect, '.tmp'),\n          mountFolder(connect, 'app')\n        ];\n      }\n    }\n  }\n}\n```\nFor use as middleware in grunt simply add the following to the **top** of your array of middleware.\n\n```javascript\n  require('connect-livereload')(),\n```\nYou can pass in options to this call if you do not want the defaults.\n\n`dev` is simply the name of the server being used with the task `grunt connect:dev`. The other items in the `middleware` array are all functions that either are of the form `function (req, res, next)` like `checkForDownload` or return that like `mountFolder(connect, 'something')`.\n\nalternative\n===========\nAn alternative would be to install the [LiveReload browser plugin](https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei).\n\n\ncredits\n=======\n* The initial middleware code was mainly extracted from: [grunt-contrib-livereload/util.js](https://github.com/gruntjs/grunt-contrib-livereload/blob/master/lib/utils.js)\n* [LiveReload Creator](http://livereload.com/)\n\ntests\n=====\nrun the tests with\n```\nmocha\n```\n\nlicense\n=======\n[MIT License](https://github.com/intesso/connect-livereload/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/intesso/connect-livereload#readme","bugs":{"url":"https://github.com/intesso/connect-livereload/issues"},"license":"MIT"}