{"_id":"memoize-decorator","_rev":"476505","name":"memoize-decorator","description":"Memoize getters and methods to compute only once","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"time":{"modified":"2024-06-24T04:52:50.000Z","created":"2015-04-11T12:27:58.828Z","1.0.2":"2015-04-11T12:57:52.963Z","1.0.1":"2015-04-11T12:29:10.886Z","1.0.0":"2015-04-11T12:27:58.828Z"},"users":{"jjj201200":true},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"versions":{"1.0.2":{"name":"memoize-decorator","version":"1.0.2","description":"Memoize getters and methods to compute only once","main":"lib/index.js","author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babelify":"^6.0.2","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"86e0f81c0255a0a0bcfdb8a397d4610c98b3f500","_id":"memoize-decorator@1.0.2","scripts":{},"_shasum":"605a41715c4171db192a90098b00ab8d6e1102f5","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"dist":{"shasum":"605a41715c4171db192a90098b00ab8d6e1102f5","tarball":"http://registry-npm.ywwl.com/memoize-decorator/download/memoize-decorator-1.0.2.tgz","integrity":"sha512-G2vHcq4c+EwnBAOeWCH1mNz99QPCgm4ECjhHOd3SFZm66jVlwhBLdqhCvnHxptaRyZfm8ap3igoeDfrO92+uHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb6udP31obCGxXciJoPqiusspUPdHmZxhT7z2ZiyomiQIhAMl/tp6oPGQXVt7qvCybuGKl5APt0H2AGJopqXS9LwC3"}],"size":2751,"noattachment":false,"key":"/memoize-decorator/-/memoize-decorator-1.0.2.tgz"},"directories":{},"publish_time":1428757072963,"_cnpm_publish_time":1428757072963},"1.0.1":{"name":"memoize-decorator","version":"1.0.1","description":"Memoize getters and methods to compute only once","main":"lib/index.js","author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babelify":"^6.0.2","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"336c2f100f926a9d6c5d6f35344fe5823f5f38e6","_id":"memoize-decorator@1.0.1","scripts":{},"_shasum":"a368a25ca6290c0caf35dd03886b4248a2d90fe6","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"dist":{"shasum":"a368a25ca6290c0caf35dd03886b4248a2d90fe6","tarball":"http://registry-npm.ywwl.com/memoize-decorator/download/memoize-decorator-1.0.1.tgz","integrity":"sha512-FRFr2HRSFUF5YuM3ptmFOApi7LxqCZz+NT/4ibRTsanEFHsoA6kCGIxO9PkPSlROb/YSJZ1zBTHtpJecGvp1tQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaDYfCPGA+5cXq5lx2i41BlqBPbbZz76edqjcHMUp3DQIgG5vnlXPr/2qASX5DA/jv/F7NoLQsKYqHZYDoo+X4mCY="}],"size":2746,"noattachment":false,"key":"/memoize-decorator/-/memoize-decorator-1.0.1.tgz"},"directories":{},"publish_time":1428755350886,"_cnpm_publish_time":1428755350886},"1.0.0":{"name":"memoize-decorator","version":"1.0.0","description":"Memoize getters and methods to compute only once","main":"lib/index.js","author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babelify":"^6.0.2","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"e9f70c85f537b2b9b179dea2effd5c502e913d30","_id":"memoize-decorator@1.0.0","scripts":{},"_shasum":"fe325cea8d87e2f7362785b6588fb280998dd94c","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"dist":{"shasum":"fe325cea8d87e2f7362785b6588fb280998dd94c","tarball":"http://registry-npm.ywwl.com/memoize-decorator/download/memoize-decorator-1.0.0.tgz","integrity":"sha512-m0UFoVpNFwbjHKS8xEUFtnZVaqHl2gPo5JCoO5V2xALG2omn7O3FAu+cL/L3oaxPKt2GEyK9Y8n+LJ66dw6oiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhvmDIqlWA4104gGz7m6JvHEdnqQG8QkGKv1sqAQU8xAiEA40LbtmdZhMOH/k0SzseDss/0Wf3kPRKI4Z2PLVGyoyU="}],"size":2741,"noattachment":false,"key":"/memoize-decorator/-/memoize-decorator-1.0.0.tgz"},"directories":{},"publish_time":1428755278828,"_cnpm_publish_time":1428755278828}},"readme":"# memoize decorator\n\nThis is a method/getter decorator which is when applied to a method or a getter\nmemoizes the result of the first call and returns it on subsequent calls.\n\nAs decorators are a part of future ES7 standard they can only be used with\ntranspilers such as [Babel](http://babeljs.io).\n\nInstallation:\n\n    % npm install memoize-decorator\n\nExample:\n\n    import memoize from 'memoize-decorator'\n\n    class Component {\n\n      @memoize\n      get expensiveValue() {\n        console.log('heavy computations')\n        return 42\n      }\n    }\n\n    let component = new Component()\n    component.expensiveValue // prints 'heavy computations', returns 42\n    component.expensiveValue // just returns 42\n","_attachments":{},"license":"MIT"}