{"_id":"amqp10-link-cache","_rev":"13-341e655e19f21dfc2b791bd28a6c494c","name":"amqp10-link-cache","description":"A link caching plugin for the amqp10 module","dist-tags":{"latest":"1.2.2"},"versions":{"0.0.1":{"name":"amqp10-link-cache","version":"0.0.1","description":"a link caching mechanism for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"bluebird":"^3.0.6","object-hash":"^0.9.3"},"devDependencies":{"amqp10":"^2.2.0","chai":"^3.3.0","jshint":"^2.6.0","mocha":"^2.1.0"},"gitHead":"09d3783c1ce084c31fe0b64d61ec59c91242b364","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@0.0.1","scripts":{},"_shasum":"f68ae6c3ee8ee35d49a64997dc389f3942cb189f","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"dist":{"shasum":"f68ae6c3ee8ee35d49a64997dc389f3942cb189f","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-0.0.1.tgz","integrity":"sha512-63JG4AiKTRPNY3RwZgBuWh7OBDaNOOcBngB10Qp3AMq1yQhiEUr2fovDNAYUsyqaVlMmXSPJkccQyTJwo7J97A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1hwMODJFjdFjoTI/6mEVTpgKo63YmNrqkib0RKSyF0gIhAJgyUmXsOAgkq4wFUqh22nV/iszNE4OL5YqLwxhXJhBH"}]}},"0.2.0":{"name":"amqp10-link-cache","version":"0.2.0","description":"a link caching mechanism for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"object-hash":"^1.1.2"},"devDependencies":{"amqp10":"^3.1.0","bluebird":"^3.3.4","chai":"^3.5.0","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"a4ac30f506bc2f2100ee4d2ca268b1459cc1f1be","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@0.2.0","scripts":{},"_shasum":"ad78b38c007ece636786540b44df1259c32f10e2","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"dist":{"shasum":"ad78b38c007ece636786540b44df1259c32f10e2","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-0.2.0.tgz","integrity":"sha512-/TUehWNoeEhb7Dd60WKayPHCAFCm6JJBjR5TtVCAfqAeRFXfl4KJ8fdqqwlWmgtzJrme4vkwB99M4y9XYm7mUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG3fyT0CfciKUUQ5pDbakyUfWRhaOKf6ZfIKOmAfC8ERAiEAg1kTLX8XfsAoT+JP5LIZIWaVH6stFE/PWHTuiO0uxK8="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/amqp10-link-cache-0.2.0.tgz_1457990362792_0.9874858194962144"}},"1.0.1":{"name":"amqp10-link-cache","version":"1.0.1","description":"A link caching plugin for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"bluebird":"^3.3.4","object-hash":"^1.1.2"},"devDependencies":{"amqp10":"^3.1.1","chai":"^3.5.0","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"6e332ccb0010ec4eaae125eddf78b1b311fa0662","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@1.0.1","scripts":{},"_shasum":"26ff07de5199dd5c148648da00902ba40fd88e42","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"dist":{"shasum":"26ff07de5199dd5c148648da00902ba40fd88e42","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-1.0.1.tgz","integrity":"sha512-PjdgPjKlaLUiKGz3Ds4DT+nSN7i08/Cf87ysgLyms07tMiBlMNzDKpsr5ltu4HN17Fg/KaMn1aCluG7Fah6Feg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuX6gNklMAPoJjeOYlVCP+NtJevWyzfq5MDIKgAtqmeAiA8m532w6FUk5DecgIhBFHJS5ElPBcmrOtf5nVcuL2SrA=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/amqp10-link-cache-1.0.1.tgz_1459123675322_0.44771383376792073"}},"1.0.2":{"name":"amqp10-link-cache","version":"1.0.2","description":"A link caching plugin for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"bluebird":"^3.3.4","object-hash":"^1.1.2"},"devDependencies":{"amqp10":"^3.1.1","chai":"^3.5.0","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"5311c431e565211387e5593d96d2773539b0f852","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@1.0.2","scripts":{},"_shasum":"42682152f492e40a174e41f14d2e2bb9ff4349ba","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"dist":{"shasum":"42682152f492e40a174e41f14d2e2bb9ff4349ba","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-1.0.2.tgz","integrity":"sha512-2VFtYWyWm8MAQHg9TZbOflQrbnMhVRDf0DNaLW/E5IbR64FaE5H2cla42zvRSJdwd9R0iQX4jlQN0xWwBiSZyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHiFyR3DRFWiXqoSwb8VLfWQJGdjDUILg280UnokDkO5AiEAvfkhn7QYA6mEV3iLS9NB8PIhqLts6XvtuigxNBPYL6o="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/amqp10-link-cache-1.0.2.tgz_1473199126649_0.42167199682444334"}},"1.1.0":{"name":"amqp10-link-cache","version":"1.1.0","description":"A link caching plugin for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"bluebird":"^3.3.4","object-hash":"^1.1.2"},"devDependencies":{"amqp10":"^3.1.1","chai":"^3.5.0","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"5f60081456438196f4b8f1bc1d7c9f3f7ca5bb1e","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@1.1.0","scripts":{},"_shasum":"ef5127ceee65e34061d009486ee98a7ddf92f7d4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"dist":{"shasum":"ef5127ceee65e34061d009486ee98a7ddf92f7d4","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-1.1.0.tgz","integrity":"sha512-vbou19nfy/QgUB8FqRVzLP21sr4r1HykVZlAxbCsvzH37Tw4BiP3ba2OA53sPuIcCaxfWx3wyNUJIPDt2Opb+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg4EqF/freeBhJX9l8mruV1qAeAAGnD/Gz3joWY5RDuAIhAJ0FoeCOZP8ATvGNT3V7nLL6p33YW1uXFENgM0sYpZzi"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/amqp10-link-cache-1.1.0.tgz_1474634218072_0.6027943443041295"}},"1.1.1":{"name":"amqp10-link-cache","version":"1.1.1","description":"A link caching plugin for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"bluebird":"^3.3.4","object-hash":"^1.1.2"},"devDependencies":{"amqp10":"^3.1.1","chai":"^3.5.0","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"a2103e2369dc0b397e461a52d1e29713194604b6","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@1.1.1","scripts":{},"_shasum":"9904b806cc8468ad0309b78341b6ac4a9f0bf1b9","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"dist":{"shasum":"9904b806cc8468ad0309b78341b6ac4a9f0bf1b9","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-1.1.1.tgz","integrity":"sha512-sCpjVCItufdMqR6ayqpip+MYjvpRr9lPxAWTp8pyhfzv9jc0vf2Ixi0N1scdMMyV8iFMS2Z9Z0j2uj2nhBEC3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSLkn/DtrNU3wtVa2Sufc/KDj1xE5T2kyENPNQOIBmnAiAsHy/UYYczd2MiMYbawvGHbAbOz1Jz127GW76YysoHFQ=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/amqp10-link-cache-1.1.1.tgz_1479737035871_0.11801819945685565"}},"1.2.0":{"name":"amqp10-link-cache","version":"1.2.0","description":"A link caching plugin for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"bluebird":"^3.3.4","object-hash":"^1.1.2"},"devDependencies":{"amqp10":"^3.1.1","chai":"^3.5.0","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"47ae1bfbf69ec9cc1d810f03e90cd4aebaf86912","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@1.2.0","scripts":{},"_shasum":"1996a5c0c2d7c584857c658130f35a4bee1c9bad","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"dist":{"shasum":"1996a5c0c2d7c584857c658130f35a4bee1c9bad","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-1.2.0.tgz","integrity":"sha512-AHLP41aLn9dC34JaHKAUZnkzmPNT2FLCp836ewG3Zsb5jiSg2NDzBg2Oq60PrCKcrt8dPDVFlyDphF8jWS/ahw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFp0n9h7e45rLOP2qdO/J8FkDHGlvreMBbDEw6lyCfQoAiBp0KhKD+ct2GSjRiB6p8qMW/fYPcMz1QwcSJksphfXkg=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/amqp10-link-cache-1.2.0.tgz_1479858775622_0.34194167400710285"}},"1.2.1":{"name":"amqp10-link-cache","version":"1.2.1","description":"A link caching plugin for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"scripts":{"version":"make changelog && git add CHANGELOG.md"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"bluebird":"^3.3.4","object-hash":"^1.1.2"},"devDependencies":{"amqp10":"^3.1.1","chai":"^3.5.0","conventional-changelog-cli":"^1.2.0","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"f650ae361efcb2af2b195dc7de43a812f9b66466","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@1.2.1","_shasum":"b9c2ccac73eba57d2eaebb47464c91509d3ddb54","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"dist":{"shasum":"b9c2ccac73eba57d2eaebb47464c91509d3ddb54","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-1.2.1.tgz","integrity":"sha512-X3H9hRQwRcsYpDWS/9ptnj5TL1ZPEHLwH/O1fdmP1Kl5oCmcOR4f/1/Il0JVE7diPVUCnW5GYtc154LlA3/Pag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV5koLTq4zK6I5wSddQnlqghSQqxypRMZO8xn4imXyFwIhAOadHWWkBSlqxK5F+iz0aWfg4/acTRUmrL0G8tIIP1jN"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/amqp10-link-cache-1.2.1.tgz_1480356896019_0.8935982331167907"}},"1.2.2":{"name":"amqp10-link-cache","version":"1.2.2","description":"A link caching plugin for the amqp10 module","main":"index.js","engines":{"node":">= 0.10"},"scripts":{"version":"make changelog && git add CHANGELOG.md"},"keywords":["amqp10","link","cache","amqp","messaging"],"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"dependencies":{"bluebird":"^3.3.4","object-hash":"^1.1.2"},"devDependencies":{"amqp10":"^3.1.1","chai":"^3.5.0","conventional-changelog-cli":"^1.2.0","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"61f0942436954698b015d6cae67b55db2bec277d","bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","_id":"amqp10-link-cache@1.2.2","_shasum":"d04fea0c05c707204bb3e241e9c2f1344c4b3a06","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"mbroadst","email":"mbroadst@gmail.com"},"dist":{"shasum":"d04fea0c05c707204bb3e241e9c2f1344c4b3a06","tarball":"https://registry.npmjs.org/amqp10-link-cache/-/amqp10-link-cache-1.2.2.tgz","integrity":"sha512-3mSROeIU1dbryImTzRISs7M2O6o5rnG7ZNL49HFP8wFAUO8hc0HDtMdd4A26WPDO/JM1v1L0hX20OxeeJpiCjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkF7HDAvOfREJbg0coMNwIgeSRPDn5Dp/34Fl4YN98ZgIgLHON52E02S+nfOxUpWskJHG4dOdnGUdb6m327SVHHx8="}]},"maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/amqp10-link-cache-1.2.2.tgz_1487947633161_0.6044523671735078"}}},"readme":"# amqp10-link-cache\n[![Build Status](https://travis-ci.org/mbroadst/amqp10-link-cache.svg)](https://travis-ci.org/mbroadst/amqp10-link-cache)\n[![Dependency Status](https://david-dm.org/mbroadst/amqp10-link-cache.svg)](https://david-dm.org/mbroadst/amqp10-link-cache.svg)\n\nThis module allows you to reuse already created links with the same link\noptions throughout your codebase. This is particularly useful as you no longer\nneed to make all of the links up front before using them, you can simply\n_always_ create the links where you need them and know that it will either be\ncreated or a cached copy will be returned.\n\nBy default receiver links are _not_ cached, the user must explicitly opt in to\nthis behavior for both receiver links and receiver streams.\n\n## usage\n```javascript\n'use strict';\nvar amqp = require('amqp10'),\n    linkCache = require('amqp10-link-cache');\n\n// plug-in the link cache, with optional parameters\namqp.use(linkCache({ ttl: 5000 }));\n\nvar client = new amqp.Client();\nclient.connect('amqp://localhost')\n  .then(function() {\n    // defaults for sender:\n    var senderOpts = {\n      bypassCache: false      // set to true to disable caching this link\n    };\n\n    // defaults for receiver:\n    var receiverOpts = {\n      bypassCache: true\n    };\n\n    return Promise.all([\n      client.createSender('amq.topic', senderOpts),\n      client.createSender('amq.topic'),\n      client.createSender('amq.topic', { bypassCache: true }),\n      client.createReceiver('amqp.topic', receiverOpts),\n      client.createReceiver('amqp.topic'),\n      client.createReceiver('amq.topic', { bypassCache: false }),\n      client.createReceiver('amq.topic', { bypassCache: false })\n    ]);\n  })\n  .spread(function(sender1, sender2, sender3, receiver1, receiver2, receiver3, receiver4) {\n    // sender1 === sender2\n    // sender1 !== sender3 && sender2 !== sender3\n    // receiver1 !== receiver2\n    // receiver3 === receiver4\n  });\n```\n","maintainers":[{"name":"mbroadst","email":"mbroadst@gmail.com"}],"time":{"modified":"2022-06-13T02:46:47.396Z","created":"2015-12-10T18:20:21.490Z","0.0.1":"2015-12-10T18:20:21.490Z","0.2.0":"2016-03-14T21:19:25.251Z","1.0.0":"2016-03-27T23:55:14.586Z","1.0.1":"2016-03-28T00:07:56.289Z","1.0.2":"2016-09-06T21:58:48.180Z","1.1.0":"2016-09-23T12:36:59.131Z","1.1.1":"2016-11-21T14:03:57.829Z","1.2.0":"2016-11-22T23:52:57.585Z","1.2.1":"2016-11-28T18:14:58.177Z","1.2.2":"2017-02-24T14:47:14.956Z"},"homepage":"https://github.com/mbroadst/amqp10-link-cache#readme","keywords":["amqp10","link","cache","amqp","messaging"],"repository":{"type":"git","url":"git+https://github.com/mbroadst/amqp10-link-cache.git"},"author":{"name":"Matt Broadstone","email":"mbroadst@gmail.com","url":"https://github.com/mbroadst"},"bugs":{"url":"https://github.com/mbroadst/amqp10-link-cache/issues"},"license":"MIT","readmeFilename":"README.md"}