{"_id":"@mapbox/tilelive-memcached","_rev":"258-ff0ae561a1681e3440337114379dd4ff","name":"@mapbox/tilelive-memcached","description":"memcached wrapping source for tilelive","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@mapbox/tilelive-memcached","version":"1.0.1","main":"./index.js","description":"memcached wrapping source for tilelive","repository":{"type":"git","url":"git://github.com/mapbox/tilelive-memcached.git"},"dependencies":{"memjs":"0.8.7"},"devDependencies":{"buffer-equal":"0.0.x","mocha":"1.3.x"},"scripts":{"test":"mocha -R spec"},"engines":{"node":"0.10.x"},"gitHead":"f15fec24e5610bff298301b9831cde64a5ecfc03","bugs":{"url":"https://github.com/mapbox/tilelive-memcached/issues"},"homepage":"https://github.com/mapbox/tilelive-memcached#readme","_id":"@mapbox/tilelive-memcached@1.0.1","_shasum":"3de532f2610aeda1cad30d2400547930201ca16b","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.4.5","_npmUser":{"name":"mapsam","email":"sam@mapbox.com"},"dist":{"shasum":"3de532f2610aeda1cad30d2400547930201ca16b","tarball":"https://registry.npmjs.org/@mapbox/tilelive-memcached/-/tilelive-memcached-1.0.1.tgz","integrity":"sha512-BoEoGCwTlhZ3c1bseIF/wakJjUEtEpPfBeZOH23YTVVX6MN4IOwvhmMaGY6wd4ck4zDekDref6zztGLRBRXGkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0WNx1w3uzKqpDT2Y7WD/KXerVarh8e/GD9REUc7KoLAiEAu0DG44zd81zqH+o5dKUt0xXxw8+vT4eNiRGMUdpjn6Y="}]},"maintainers":[{"name":"mapsam","email":"sam@mapbox.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tilelive-memcached-1.0.1.tgz_1488221820293_0.5734181758016348"},"directories":{}}},"readme":"[![Build Status](https://travis-ci.org/mapbox/tilelive-memcached.png?branch=master)](https://travis-ci.org/mapbox/tilelive-memcached)\n\ntilelive-memcached\n------------------\nnode-tilejson wrapping source for tilelive.\n\n    var options = {\n        mode: 'readthrough', // optional, cache mode either 'readthrough' or 'race'\n        client: client, // optional, instantiated memcached client\n        expires: 600    // optional, object expiration time in seconds\n        ttl: 300        // optional, relay mode only, numbe of seconds before an object should be re-checked.\n    };\n    var TileJSON = require('@mapbox/tilelive-memcached')(options, require('tilejson'));\n\n    new TileJSON( ... )\n\n### Cache modes\n\nTwo modes for caching are available.\n\n- **readthrough** hits memcached first and only calls a `get` on the original source if a cache miss occurs.\n- **race** always hits both memcached and the original source concurrently. The IO operation that completes fastest will handle the `get` call. After both operations are complete the cache may be updated if the original source's contents have changed.\n","maintainers":[{"email":"yannick.meeus+npm+production+ci@mapbox.com","name":"mbx-npm-ci-production"},{"email":"yannick.meeus+npm+staging+ci@mapbox.com","name":"mbx-npm-ci-staging"},{"email":"yannick.meeus+npm+prod+advanced+actions@mapbox.com","name":"mbx-npm-advanced-actions-production"},{"email":"yannick.meeus+npm+staging+advanced+actions@mapbox.com","name":"mbx-npm-advanced-actions-staging"},{"email":"yannick.meeus+npm+prod+09@mapbox.com","name":"mbx-npm-09-production"},{"email":"yannick.meeus+npm+prod+08@mapbox.com","name":"mbx-npm-08-production"},{"email":"yannick.meeus+npm+prod+07@mapbox.com","name":"mbx-npm-07-production"},{"email":"yannick.meeus+npm+prod+06@mapbox.com","name":"mbx-npm-06-production"},{"email":"yannick.meeus+npm+prod+05@mapbox.com","name":"mbx-npm-05-production"},{"email":"yannick.meeus+npm+prod+04@mapbox.com","name":"mbx-npm-04-production"},{"email":"yannick.meeus+npm+prod+03@mapbox.com","name":"mbx-npm-03-production"},{"email":"yannick.meeus+npm+prod+02@mapbox.com","name":"mbx-npm-02-production"},{"email":"yannick.meeus+npm+prod+01@mapbox.com","name":"mbx-npm-01-production"},{"email":"yannick.meeus@mapbox.com","name":"mbx-npm-02-staging"},{"email":"accounts+npmjs-01@mapbox.com","name":"mapbox-npm-01"},{"email":"accounts+npmjs-02@mapbox.com","name":"mapbox-npm-02"},{"email":"accounts+npmjs-07@mapbox.com","name":"mapbox-npm-07"},{"email":"accounts+npmjs-03@mapbox.com","name":"mapbox-npm-03"},{"email":"accounts+npmjs-04@mapbox.com","name":"mapbox-npm-04"},{"email":"accounts+npmjs-09@mapbox.com","name":"mapbox-npm-09"},{"email":"accounts+npmjs-05@mapbox.com","name":"mapbox-npm-05"},{"email":"accounts+npmjs-06@mapbox.com","name":"mapbox-npm-06"},{"email":"accounts+npmjs-08@mapbox.com","name":"mapbox-npm-08"},{"email":"accounts+npmjs-advanced-actions@mapbox.com","name":"mapbox-npm-advanced-actions"},{"email":"accounts+npmjs-npm-ci@mapbox.com","name":"mapbox-npm-ci"},{"email":"accounts+npmjs@mapbox.com","name":"mapbox-npm"},{"email":"accounts@mapbox.com","name":"mapbox-admin"},{"email":"accounts+npm-mapbox-machine-user@mapbox.com","name":"mapbox-machine-user"}],"time":{"modified":"2023-01-12T12:45:41.179Z","created":"2017-02-27T18:57:00.511Z","1.0.1":"2017-02-27T18:57:00.511Z"},"homepage":"https://github.com/mapbox/tilelive-memcached#readme","repository":{"type":"git","url":"git://github.com/mapbox/tilelive-memcached.git"},"bugs":{"url":"https://github.com/mapbox/tilelive-memcached/issues"},"readmeFilename":"README.md"}