{"_id":"document-watch","_rev":"9-1a34edf69821724481069d807bb29965","name":"document-watch","description":"watch for atomic changes in a document","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"document-watch","version":"0.1.0","description":"watch for atomic changes in a document","keywords":["json","watch","changes","document"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"_id":"document-watch@0.1.0","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"fe50e468219502320a9f0305c1a41e19af4124d4","tarball":"https://registry.npmjs.org/document-watch/-/document-watch-0.1.0.tgz","integrity":"sha512-/M+/XFyVJlK1XbJ9zhpJs2+LUQLDavkwQ0hVXVusIvlcny4eTxtaXhaUxVPtKWsO20M8fLPlh4GtBxApJV3yrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaX/o9LxW7HFwTLn+lb8MqPsK3Q2+B3iqvLI18vbwiUQIgW6wjoQ/YC4j7KTNjeD0ZA58FsR33p5Xh2wUiWSHPA5g="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.1.1":{"name":"document-watch","version":"0.1.1","description":"watch for atomic changes in a document","keywords":["json","watch","changes","document"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"_id":"document-watch@0.1.1","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"5c756bc3d4bed5233ce7f2971df5125c41d61307","tarball":"https://registry.npmjs.org/document-watch/-/document-watch-0.1.1.tgz","integrity":"sha512-bazioSfc75iLdgi0D6vEmDn1qulQpPDSnRikYrqIRRVKoo11YgEkgkqERdjT/NKuskNVQSFmwUqvisV3tijMQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD93c9GkwyBh/9F9qehy8vVVY7OjCZ/GmVM5XcohG9FkAIgSbS1ZWexU6y5vg5XLN7Bn6GCcPsNbbe1D7/3si2/c4I="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.1.2":{"name":"document-watch","version":"0.1.2","description":"watch for atomic changes in a document","keywords":["json","watch","changes","document"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"_id":"document-watch@0.1.2","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"16c9c32fe984dfd9046150e32dea2b3d26aec3f8","tarball":"https://registry.npmjs.org/document-watch/-/document-watch-0.1.2.tgz","integrity":"sha512-KbMHN9SSYRdTAbIBNkd1VhU9qwLX5igQePcN/INFFIMIkBRo5IQAx+c0Rbo1XESzCJ1TywIOsEGoGSzpXwCE3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+3Y5Fhi4hZjJ+FAhsZipfqoRbisEIaY7Vyic3UAOrswIhANsdkdVt9OBsNtFS4nRjcj+Plg0XIBDDcX8Vn6piWfum"}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]}},"readme":"# Document Watch\n\nDocument is a little module that enables you to do one thing, watch for changes in documents in an atomic way.  \nIt's available through npm:\n\n\tnpm install document-watch\n\nAnd it's super easy to use:\n\n``` js\nvar watch = require('document-watch');\n\nvar doc = {hello:'world', count:0};\n\nvar unwatch = watch(doc, function(changes) {\n\tconsole.log(changes);\n});\n\ndoc.hello = 'other world';\ndoc.count++;\ndoc.count++;\n\n// on nextTick the following gets printed:\n\n{hello:'other world', count:2}\n\n```","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-15T20:30:59.994Z","created":"2011-11-06T22:25:07.101Z","0.1.0":"2011-11-06T22:25:08.469Z","0.1.1":"2011-11-06T22:47:51.650Z","0.1.2":"2011-11-06T22:49:35.319Z"},"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"}}