{"_id":"ain2-papandreou","_rev":"481181","name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","dist-tags":{"latest":"0.4.0"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"time":{"modified":"2021-08-05T09:37:42.000Z","created":"2012-03-28T11:58:38.741Z","0.4.0":"2016-08-29T12:24:32.385Z","0.3.1":"2016-05-30T12:42:15.589Z","0.3.0":"2016-05-10T15:08:01.448Z","0.2.0":"2016-02-24T16:49:22.283Z","0.1.5":"2013-07-24T12:11:45.922Z","0.1.4":"2013-05-08T12:56:01.323Z","0.1.3":"2013-05-07T08:36:48.986Z","0.1.2":"2013-02-28T09:13:09.041Z","0.1.1":"2013-02-11T18:01:23.643Z","0.1.0":"2013-01-28T15:26:04.419Z","0.0.11":"2012-08-17T09:50:13.839Z","0.0.10":"2012-08-14T09:19:18.409Z","0.0.3":"2012-03-29T08:25:35.800Z","0.0.4":"2012-03-29T08:25:28.437Z","0.0.5":"2012-03-29T08:24:40.278Z","0.0.6":"2012-03-29T08:24:24.367Z","0.0.9":"2012-03-29T08:20:42.420Z","0.0.8":"2012-03-28T12:54:12.629Z","0.0.7":"2012-03-28T11:58:38.741Z"},"users":{},"repository":{"type":"git","url":"git+ssh://git@github.com/papandreou/ain.git"},"versions":{"0.4.0":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.4.0","main":"./index","repository":{"type":"git","url":"git+ssh://git@github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"1.0.0"},"gitHead":"3f0abd2e62bbeee0b43ce63f5ad412116a0f2133","bugs":{"url":"https://github.com/papandreou/ain/issues"},"homepage":"https://github.com/papandreou/ain#readme","_id":"ain2-papandreou@0.4.0","scripts":{},"_shasum":"79a4470659ee183d8c89e39d191ad21795b2266b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"dist":{"shasum":"79a4470659ee183d8c89e39d191ad21795b2266b","size":6376,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.4.0.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ain2-papandreou-0.4.0.tgz_1472473471284_0.40551961422897875"},"directories":{},"publish_time":1472473472385,"_cnpm_publish_time":1472473472385,"_hasShrinkwrap":false},"0.3.1":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.3.1","main":"./index","repository":{"type":"git","url":"git+ssh://git@github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"1.0.0"},"gitHead":"82e299db031d78c17280e71417bc81f50bd7795c","bugs":{"url":"https://github.com/papandreou/ain/issues"},"homepage":"https://github.com/papandreou/ain#readme","_id":"ain2-papandreou@0.3.1","scripts":{},"_shasum":"0ba108cc2f8996f2858a9634b7805ed702cfb60a","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"dist":{"shasum":"0ba108cc2f8996f2858a9634b7805ed702cfb60a","size":6323,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.3.1.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ain2-papandreou-0.3.1.tgz_1464612133600_0.14524507615715265"},"directories":{},"publish_time":1464612135589,"_cnpm_publish_time":1464612135589,"_hasShrinkwrap":false},"0.3.0":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.3.0","main":"./index","repository":{"type":"git","url":"git+ssh://git@github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"0.2.3"},"gitHead":"ce279e267f6ebbbb7dae06beb5f27319831fd311","bugs":{"url":"https://github.com/papandreou/ain/issues"},"homepage":"https://github.com/papandreou/ain#readme","_id":"ain2-papandreou@0.3.0","scripts":{},"_shasum":"2a72fe4ac7a9826ae8d184bf7e932f08a16898ea","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"dist":{"shasum":"2a72fe4ac7a9826ae8d184bf7e932f08a16898ea","size":6322,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.3.0.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ain2-papandreou-0.3.0.tgz_1462892878947_0.9795897547155619"},"directories":{},"publish_time":1462892881448,"_cnpm_publish_time":1462892881448,"_hasShrinkwrap":false},"0.2.0":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.2.0","main":"./index","repository":{"type":"git","url":"git+ssh://git@github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"0.2.2"},"gitHead":"340b73ddc2b894deca8caf1193e247109087666f","bugs":{"url":"https://github.com/papandreou/ain/issues"},"homepage":"https://github.com/papandreou/ain#readme","_id":"ain2-papandreou@0.2.0","scripts":{},"_shasum":"a3a91fa318f2cc326c276e13989758eeb5bb3ce3","_from":".","_npmVersion":"2.14.19","_nodeVersion":"0.10.42","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"dist":{"shasum":"a3a91fa318f2cc326c276e13989758eeb5bb3ce3","size":6321,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.2.0.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/ain2-papandreou-0.2.0.tgz_1456332559723_0.5503496427554637"},"directories":{},"publish_time":1456332562283,"_cnpm_publish_time":1456332562283,"_hasShrinkwrap":false},"0.1.5":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.1.5","main":"./index","repository":{"type":"git","url":"http://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.2"},"readmeFilename":"readme.md","_id":"ain2-papandreou@0.1.5","dist":{"shasum":"0c78807e80e86305690c6cc07e48e2a6d891b9f5","size":6312,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.1.5.tgz"},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1374667905922,"_hasShrinkwrap":false,"_cnpm_publish_time":1374667905922},"0.1.4":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.1.4","main":"./index","repository":{"type":"git","url":"http://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.2"},"readmeFilename":"readme.md","_id":"ain2-papandreou@0.1.4","dist":{"shasum":"20c822bdd749ee205b68a311919d4f92f54bacb8","size":6282,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.1.4.tgz"},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1368017761323,"_hasShrinkwrap":false,"_cnpm_publish_time":1368017761323},"0.1.3":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.1.3","main":"./index","repository":{"type":"git","url":"http://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.2"},"readmeFilename":"readme.md","_id":"ain2-papandreou@0.1.3","dist":{"shasum":"dddb7c0bc7f6bd680db6c8db7ab678d400251c96","size":6280,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.1.3.tgz"},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1367915808986,"_hasShrinkwrap":false,"_cnpm_publish_time":1367915808986},"0.1.2":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.1.2","main":"./index","repository":{"type":"git","url":"http://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.2"},"_id":"ain2-papandreou@0.1.2","dist":{"shasum":"f48927d18555dbed86e98667758727a4e81f1c03","size":6227,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.1.2.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1362042789041,"_hasShrinkwrap":false,"_cnpm_publish_time":1362042789041},"0.1.1":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.1.1","main":"./index","repository":{"type":"git","url":"http://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.2"},"_id":"ain2-papandreou@0.1.1","dist":{"shasum":"be9ecf3f3297a84b4e600b58db93c1ce1a27789c","size":6226,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.1.1.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1360605683643,"_hasShrinkwrap":false,"_cnpm_publish_time":1360605683643},"0.1.0":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.1.0","main":"./index","repository":{"type":"git","url":"http://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.2"},"_id":"ain2-papandreou@0.1.0","dist":{"shasum":"c3a7568c6a0830d573fbeb97b52fcca99ffbc2bc","size":6060,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.1.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1359386764419,"_hasShrinkwrap":false,"_cnpm_publish_time":1359386764419},"0.0.11":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.11","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.1"},"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.11","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"4e420ec8d1535d91733b59dd0d63d613cf6fbd83","size":5945,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.11.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1345197013839,"_hasShrinkwrap":false,"_cnpm_publish_time":1345197013839},"0.0.10":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.10","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.1"},"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.10","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"9a4158d5835540dcf537da75d1668dc7885d546d","size":5883,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.10.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1344935958409,"_hasShrinkwrap":false,"_cnpm_publish_time":1344935958409},"0.0.3":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.3","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.3","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.13","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"5a588b414b1d824b5d40e69356e04243b467f414","size":5752,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.3.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1333009535800,"_hasShrinkwrap":false,"_cnpm_publish_time":1333009535800},"0.0.4":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.4","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.4","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.13","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"86eab5a9fd4efcbbbb391c2f398edaf402b5559c","size":5888,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.4.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1333009528437,"_hasShrinkwrap":false,"_cnpm_publish_time":1333009528437},"0.0.5":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.5","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.5","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.13","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"2a99df7265de48160b910d1c25800139194593c1","size":5892,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.5.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1333009480278,"_hasShrinkwrap":false,"_cnpm_publish_time":1333009480278},"0.0.6":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.6","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.6","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.13","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"f464584c422a06f64bc96e98edbeb77b2f73cad3","size":5790,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.6.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1333009464367,"_hasShrinkwrap":false,"_cnpm_publish_time":1333009464367},"0.0.9":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.9","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram":"=0.0.1"},"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.9","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.13","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"428b89418ac37ea83cb3f0893cddce636db0913b","size":5842,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.9.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1333009242420,"_hasShrinkwrap":false,"_cnpm_publish_time":1333009242420},"0.0.8":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.8","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram-papandreou":"=0.0.1"},"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.8","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.13","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"d70993957bf8f8deca74ca914d374aefcf7b20ce","size":5847,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.8.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1332939252629,"_hasShrinkwrap":false,"_cnpm_publish_time":1332939252629},"0.0.7":{"name":"ain2-papandreou","description":"Syslog logging for node.js. Continuation of ain","version":"0.0.7","main":"./index","repository":{"type":"git","url":"git://github.com/papandreou/ain.git"},"licenses":[{"type":"MIT","url":"http://github.com/phuesler/ain/master/LICENSE"}],"dependencies":{"unix-dgram-papandreou":"=0.0.1"},"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"ain2-papandreou@0.0.7","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"df160819bc7d090c87ab228f2043fa651754ca20","size":5820,"noattachment":false,"key":"/ain2-papandreou/-/ain2-papandreou-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/ain2-papandreou/download/ain2-papandreou-0.0.7.tgz"},"maintainers":[{"name":"alexjeffburke","email":"alex@alexjeffburke.com"},{"name":"papandreou","email":"andreas@one.com"}],"directories":{},"publish_time":1332935918741,"_hasShrinkwrap":false,"_cnpm_publish_time":1332935918741}},"readme":"[![build status](https://secure.travis-ci.org/papandreou/ain.png)](http://travis-ci.org/papandreou/ain)\n# ain*\n\n\nBrain-free [syslog](http://en.wikipedia.org/wiki/Syslog)** logging for\n[node.js](http://nodejs.org).\n\n*Ain* written with full compatibility with *node.js* `console` module. It\nimplements all `console` functions and formatting. Also *ain* supports UTF-8\n(tested on Debian Testing/Sid).\n\n*Ain* send messages by UDP to `127.0.0.1:514` by default, but can also be\nconfigured to use a unix datagram socket, eg. `/dev/log`, although that's\na less scalable setup. See [RFC 3164](http://www.faqs.org/rfcs/rfc3164.html).\n\n*In the Phoenician alphabet letter \"ain\" indicates eye.\n\n**All examples tested under Debian Squeeze `rsyslog`. On other operating\nsystems and logging daemons settings and paths may differ.\n\n## Installation\n\nYou can install *ain* as usual - by copy \"ain\" directory in your\n`~/.node_libraries` or via *npm*\n\n    npm install ain2\n\n## Usage\n\nUsage of *ain* is very similar to *node.js* console. Following example\ndemonstrates the replacement of the console:\n\n    var console = require('ain2');\n\n    console.log('notice: %d', Date.now());\n    console.info('info');\n    console.error('error');\n\nAfter launch in `/var/log/user` you can see the following:\n\n    Dec  5 06:45:26 localhost ex.js[6041]: notice: 1291513526013\n    Dec  5 06:45:26 localhost ex.js[6041]: info\n    Dec  5 06:45:26 localhost ex.js[6041]: error\n\n## Changing destinations\n\nBy default *ain* sets following destinations:\n\n* `TAG` - `__filename`\n* `Facility` - user (1)\n* `Severity threshold` - 'debug' (lets all messages through)\n* `Socket type` - udp\n* `HOSTNAME` - localhost\n* `PORT` - 514\n\nYou can change them by `set` function. `set` function is chainable.\n\n    var logger = require('ain2')\n            .set('node-test-app', 'daemon', 'error', 'udp', 'devhost', 3000);\n    logger.error('some error');\n    logger.warn('some warning');\n\n... and in `/var/log/daemon.log`:\n\n    Dec  5 07:08:58 devhost node-test-app[10045]: some error\n\n`set` function takes up to six arguments, all of which are\noptional. The first four are always `tag`, `facility`,\n`socketType`, and `severityThreshold`. If `socketType` is specified\nas `udp`, the next two arguments will be interpreted as `hostname`\nand `port`.  If `socketType` is `unixDatagramSocket`, the fourth argument is\ninterpreted as the `path` of the socket, defaulting to `/dev/log`.\n\n`tag` and `hostname` arguments is just *RFC 3164* `TAG` and `HOSTNAME` of\nyour messages.\n\n`facility` is little more than just name. Refer to *Section 4.1.1* of\n[RFC 3164](http://www.faqs.org/rfcs/rfc3164.html) it can be:\n\n    ##  String  Description\n    -----------------------\n     0  kern    kernel messages\n     1  user    user-level messages\n     2  mail    mail system\n     3  daemon  system daemons\n     4  auth    security/authorization messages\n     5  syslog  messages generated internally by syslog daemon\n     6  lpr     line printer subsystem\n     7  news    network news subsystem\n     8  uucp    UUCP subsystem\n    16  local0  local use 0\n    17  local1  local use 1\n    18  local2  local use 2\n    19  local3  local use 3\n    20  local4  local use 4\n    21  local5  local use 5\n    22  local6  local use 6\n    23  local7  local use 7\n\nYou can set `facility` by `String` or `Number`:\n\n    logger.set('node-test-app', 3);\n    logger.set('node-test-app', 'daemon');\n\nAlso you can set `TAG`, `Facility` and `HOSTNAME` separatelly by `setTag`,\n`setFacility` and `setHostname` functions. All of them is chainable too.\n\nYou can get all destinations by theese properties:\n\n* `tag` TAG\n* `facility` Numerical representation of RFC 3164 facility\n* `hostname` HOSTNAME\n\n## Logging\n\nAs noticed before *ain* implements all `console` functions. Severity level is\nreferenced to [RFC 3164](http://www.faqs.org/rfcs/rfc3164.html):\n\n    #  String   Description\n    -----------------------\n    0  emerg    Emergency: system is unusable\n    1  alert    Alert: action must be taken immediately\n    2  crit     Critical: critical conditions\n    3  err      Error: error conditions\n    4  warn     Warning: warning conditions\n    5  notice   Notice: normal but significant condition\n    6  info     Informational: informational messages\n    7  debug    Debug: debug-level messages\n\n*Ain* `console`-like functions behaviour is fully compatible to *node.js* and\nlogs messages with different severity levels:\n\n* `log` - notice (5)\n* `info` - info (6)\n* `warn` - warn (4)\n* `error` - err (3)\n* `dir` - notice (5)\n* `time`, `timeEnd` - notice (5)\n* `trace` - err (3)\n* `assert` - err (3)\n\nTo log message with desired severity level you can use `send` function:\n\n    logger.send('message', 'alert');\n\n`send` function takes two arguments: message and optional severity level. By\ndefault, severity level is *notice*.\n\n## Additional loggers\n\nAfter importing *ain* already has default logger. Everything that was\ndescribed above - just about it.\n\nIf you need log message with different `TAG`, `facility` and `HOSTNAME`\nwithout touching default logger, you can get independent instance of logger\nby `get` function.\n\n    var logger = require('ain').set('node-test-app', 'daemon', null, 'udp', 'devhost');\n    logger.warn('some warning');\n\n    var anotherLogger = logger.get(logger.tag, 'local0', null, 'udp', logger.hostname);\n    anotherLogger.log('another message');\n\n    var yetAnotherLogger = logger.get(logger.tag, 'local0', 'warn', 'unixDatagramSocket', '/dev/log');\n    yetAnotherLogger.log('yet another message');\n\n`get` function takes three arguments - as well as `set` function and return\nnew logger object. This object is just new instance of \"logger\" and has all\n*ain* functions (including `get`).\n","_attachments":{},"homepage":"https://github.com/papandreou/ain#readme","bugs":{"url":"https://github.com/papandreou/ain/issues"}}