{"_id":"single-user-cache","_rev":"13-3a15b1b7d8fc23384b4b26ed69416f92","name":"single-user-cache","dist-tags":{"latest":"2.1.0"},"versions":{"0.1.0":{"name":"single-user-cache","version":"0.1.0","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@0.1.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"dist":{"shasum":"d51f64ac286d5303924c97b6ba42ad4b7ddd7026","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-0.1.0.tgz","fileCount":7,"integrity":"sha512-FMYSURzyfV+nh4poyTRdtvY9G6rImOoPloLpG56QZXQZX1J7zdGLDU3rWg2wF2RMp7Aow4EfMA5XhzsLrX0B5w==","signatures":[{"sig":"MEUCIDPUbyppWjbrZK7RXYyVR7Si1q/W/lhCt59QJBBxgf3bAiEA69mrzCbF9BYx3GBL0hvSIkDZbmIwUHFF4XNwE5kjRmE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgqooCRA9TVsSAnZWagAAJoUP/05P8WF3lvC/SGN6Bccu\nb2QdYYUPe9A6NnrDoaFfWwoYjzVPfCdm2eikRU9zdxVAa0AjIXdZ9VeDqkmY\nRz4vniEfgNNd/ljnkVqWOV/IDDHv2KGS3vZwotTEzG1cjWzSqFvz+dZnq4j6\nhDLWRRJacIdBuOO1Dp4E+SPCmvWgEooyNwnzwxN9J8BO96IPQVUjzNq7FTpZ\nipJ5GiJor3C8L0j+lwHHQYdogRJSJGLJx74gWRh5GoWE4n+Laa/S6J/CTbj4\nkbz7WEABH5M5j/aBWMi8fnvfjHzQ25acT0hkMmFW3+7v7MhrXq8+01aolDw2\nbqeZseejJjfX7r6MKUBlN2RD6tn/AploZJU05MqB0MIMBNVtULfHaUvgBF3Z\nDIhzwIEj/50WtZ+2Q1Jq8d5D1D/0iHiL/KzvKvv+vzdh/cs8MsruX1vmvVis\nvSatumVikicJSuEZo4jLNj3fnJ6nhneHkl7sZ5n5cA8YxGbAmKzWiGtIWr5g\nJC++hs/syh3U3IDgALMq/yJqDmpw4xJ03WpUEU9r4bUIiKvF49wpR7F0Gm30\n/Oa8nJVXtcTItZLLGZzFlTawmlh73e+MDnCm3s0mIfVrjW/CN9c6F/NT8T4X\noZspAS6ykO3li8Ljh+127oUgOZ0CRCmr0OgcqZ5q3iKR2kfJR2pn9FtEnixc\n+5eA\r\n=c3/B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cf3f8df94f423d55b7e7e5ab9b55bb90e45ee0b0","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"_npmVersion":"6.8.0","description":"A cache for a single user","directories":{},"_nodeVersion":"10.15.2","_hasShrinkwrap":false,"devDependencies":{"tap":"^12.6.0","snazzy":"^8.0.0","graphql":"^14.1.1","standard":"^12.0.1","pre-commit":"^1.2.2","graphql-tools":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_0.1.0_1552067111666_0.6974786373031185","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"single-user-cache","version":"0.2.0","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@0.2.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"dist":{"shasum":"c004ab2a259a708a639d48f14c3d80a282ffbce2","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-0.2.0.tgz","fileCount":7,"integrity":"sha512-Y1w5UiIllYRIEcYxcqKxNFPAtV9Yes5E7LnkHuV4I7swP55tn1fQC8b1x9kQppz+xdB+to0iTqF4Dtd+PTlKIA==","signatures":[{"sig":"MEQCIBAhJrkQ/mL90rvpkb7rKzsJLaLReUdGvf/2tBs3EmzKAiAfd3gls/mgvMbBJNmnxf6gOHg25D4xqL/E0+96Aj5hig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuJELCRA9TVsSAnZWagAAdWkP/0/Qm6Fdh7JP/WDvmSOK\n7tXpGQ63XGy6srkzqPx+fKFou6Kcg9hYEWXL04+5nes4+NlobCcqCuKCTgT0\noX9Ej/cDwuWT4CNemmX6bnQHJapgr9J6xmojUY+Px/Z2fe/cPKKiTS4YzTrB\nGABl+AOzdFORTQRxHTO4pLcw8U++L8xezTAJpgb8HToNCFJAVWxdj4aeHjTw\nrOpXxbVTJ/nmWIJDJwbxi+Mji73eVMRceIT+vu5XuOI9KguCp73UYR90SJUl\nzcOXJeEEz720u0pEzKdqoPjlpmn1bznXmuhcrd1NW82V/h0EAo0VXMvkgKdd\n1JEW3/i7bFjeZp0bEVUIV8+RTBFLBRZpGJyw12IS3/lkPPwrKa3GtzY9+nbg\n90P30aSKhCV9Wl6lsVK1kkeOPMXBGRFsC6UAYYo/aAY6tb5EXqWoPLDKPWbI\nYyf4joIqB9MIqTSaItV4msisIxGYDpK4kuRDBMueuJ09dG68zsr7CHrPbgy8\nA2ovIeYdGglWz9g03EZomnXhX7BZ+wiyqHIwux+xh+X9NlAjCMg+rdd3T115\n9HKoCMjE6klukPgiZlWwA9xgid9s7Lr9/KEv7DUn7rTPray9dIy7sY4XhPPQ\nJ5ZY9xJ1VYRhGpTmNCmxqiy7spiUZeKd9N8r10YDLCnPoFgHYbrNVdA3X7jb\niWZf\r\n=SAQQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9c22a855808ae0d136453619f93a1c5008d750ec","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"_npmVersion":"6.9.0","description":"A cache for a single user","directories":{},"_nodeVersion":"10.15.2","_hasShrinkwrap":false,"devDependencies":{"tap":"^12.6.0","snazzy":"^8.0.0","graphql":"^14.1.1","standard":"^12.0.1","pre-commit":"^1.2.2","graphql-tools":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_0.2.0_1555599626406_0.10623228592691669","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"single-user-cache","version":"0.3.0","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@0.3.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"dist":{"shasum":"20ad14188ff7c2359177ac4c8ddc8793f5bea8d6","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-0.3.0.tgz","fileCount":7,"integrity":"sha512-ykG6KBaw2V/CO0HggkHN6x4CkDyQQ6hTSK24zVmfL4gJKF8BUyZfg+EKrurakQ8EIh8YuHpy2R9SYgiZV/Az9g==","signatures":[{"sig":"MEYCIQCxTIo+OlKrlFTQ2meO/1YFtx44k2I7ChCGrapbH4+z/QIhAI+imVcyijy8HPZb0Japhrax9+dUG0Dqwq6KlHElR6pE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuajnCRA9TVsSAnZWagAA6CIP/jf3gwrnWbgcxgT5SIhW\nFMw1GALNUV2oB/UoFiWD3boLP8UWG4rZ2RnDm0rV9GYvItWqKdTq804+PzYY\nD9zfD1TNNmV94tqDEMUnTGUOn1b4ShgEZvzhDuTeRoO9gNCecp/SPXJAF6jK\nEl3KZrgPhqIjezHZNxRUmjWblbnnXowS/NVx8cNGbpqbokQMdBAIrEQUNTVC\nhtnDJv2RIyRzxrZ2huEQZiH7KjwVdm7zUEjRSPkeL7quaB1Cyxqdk1cBUZpZ\ncwaz3od8kQKT8KsNeQY68D4CBDM9g6jbqeD/fzQWpHrPFo9Qv4v0d9OHzH4H\nTkhlFZk5tJ7lStK5e5vI6X7Lf3XBluvihKWAUUF/iXc7cJv9vXwFB8KtARc1\na9tsr4dZbciyZ9xatptz7E3qa4GBr/sXsGJytxwquU7Pqai7NpmVfW6mgYJ0\noFfX/45eohR+lpZZ3kJLdqFFRat1moRWS1gE4dWHV6dPBGTsF8s2bAuWsBo8\nM8IoQTjTIU7i4YK2rFzgga7+zMS+8+z4EGBjCASrNapk6bzMNYiCHQ+oeoR0\nPY80fMUQxnFSt185KAjLz0XnxnoJJGGNP97Puk6AQl/qy0W/AKlq6l/h9uwb\njVrjr/VDqQYp/FOcO/eYSACQ4qaV9c7DbGGEf+odB8cH4lcV4i3iPsXtQwMZ\nqTpq\r\n=YGnp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8c476a39b3bd9bc2e45460b4f136fa4bfdad931c","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"_npmVersion":"6.4.1","description":"A cache for a single user","directories":{},"_nodeVersion":"8.12.0","dependencies":{"safe-stable-stringify":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^12.6.0","snazzy":"^8.0.0","graphql":"^14.1.1","standard":"^12.0.1","pre-commit":"^1.2.2","graphql-tools":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_0.3.0_1555671270839_0.3962499663283183","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"single-user-cache","version":"0.3.1","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@0.3.1","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"dist":{"shasum":"3c42372caf8260441b6e87be0555c6a27ff19747","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-0.3.1.tgz","fileCount":7,"integrity":"sha512-Axn+MfT1tR3WqSERWdEckqPLwxd21L9nAXwj3ZyyHfqtNOXbP8OvwaIqAYX8Yywckg9dKxLaoDigQcXMbNSiTA==","signatures":[{"sig":"MEQCICsMDF8Scq2fVuoMulgBGn5qtPMgtdSDG+/c3/u9TwAvAiBWozJHgQ4qYwgK0sT7Jcg8OgI1hfmmZ+RU88ABCbwHnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLTTnCRA9TVsSAnZWagAAAZwQAI8/sznEl6FB15pKSPtl\nT0jfB+hYX0oecxWYM1UDcO4b4azdw1oMDgrbgOHHXeQlT8l8B0qg3vgHnFQW\nRlRhgfFxGNZSoqcPYbyDpL9Qg9ZBPGvWDfnlmpDhiTSRoyyKJ0vFP7gFdg+z\nXv0T+/WPS6fkovdezZCjKsiEXIQgOCPuoddt+MVVD8syO61d6dKpkaVPJZMV\ngRUzp+ugMjY8ZZEe+WsRM5SGajJX30bja0MWw6KHZnvfls2Y0LLo3XOpJWMK\nXPujrXWnzyie09WqpdIWujl2fZ95kUpJtjIdssxucHvKQqZn5N98a1k4GYal\nv1gsIoCyP5+p0jSQnI95sGMN9zytYy5IqtVm0FldMXPtab62zYPLvz1X799c\nbE5qRhhAZhaf3vFBackViRpyX5RIffEIm6WhER4vSCmGd8AJcXoUL99cvPQD\nstupuGvtbZPy8Fc1gCQbWRLMGMCUkAtG+Xrosc9jvT7DgZoBW0lhon36tkPB\ns/pM6WropkX9pN7F68EDEwm4zJu2dpJsFLexR4zeAsTqk1eygaIzgOq2ls0L\nPjLi2NhkrYPzJn3QIuTlOWKK2Wi0YmedzCWPj7mHbYhBhTs+jewMp1kRGoxJ\njY1d3IQ8xeVpODlJzchtFRq62gMKUVCqXwZP/H9edcpXKhht4jag7FdSp8Q2\nHhQI\r\n=5FXu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ce555fef21168ebcfd68e431b9dc235173fe6fb2","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"_npmVersion":"6.14.6","description":"A cache for a single user","directories":{},"_nodeVersion":"12.18.1","dependencies":{"safe-stable-stringify":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^12.6.0","snazzy":"^8.0.0","graphql":"^14.1.1","standard":"^12.0.1","pre-commit":"^1.2.2","graphql-tools":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_0.3.1_1596798182787_0.7620282783883656","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"single-user-cache","version":"0.4.0","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@0.4.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"dist":{"shasum":"9e44e1393b34b9c5728d24afac6d28c41f7751fe","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-0.4.0.tgz","fileCount":8,"integrity":"sha512-aUJDbwD+ZEVqffkFCy71xgiLT0/KHE0Fmi3+lsVoWcURI/gmSU3nwc9b9Kq34ZXZR9MqFw2YdS3r1r6UjYMyTg==","signatures":[{"sig":"MEYCIQCLs3PdiLDZ+mbDFVm04kbtSX5BIJlklHJe54mvdQNw2QIhAKUXai9nXOGoGuTgu3lYkzdv76MOusESi7Xa2PqfYOPx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13096,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLquRCRA9TVsSAnZWagAA3QkP/2+XPp6OpZ4WEVPeEe5A\nFEVBIOuw3vIoRTRAlLQd4zuQYhLtZUnNZm2dfl1OhxxOZ6XNde9i4anvzROn\nkFZYbyEBAcOaO0uTJj7eg/Km+Ena6UheyIyM0cwAMv8wUfTPp2aJJnv43z8R\n8HS6XtUFJUgxY8QJZzQ3Z47CB3WG8c+6GZWwBFXMLSBGeyYGdQFW5Zc/d/bQ\nhegHFqrv7Qa/Xw8qG2gKizGoMD0r1CI6SgnNOVxoskog1R+O3phI6Dxfrgcz\n228fIghhDLAv0IDSPOD3p5YSv5EtCgs0Np7kCPQVT7nU2lpIuYkVO7UA/k01\nXSVr8kVaVqDBoxb5LQOJyBc7cqDTlMf85JqgLwpQPV/XvaG/E24SXMyg+jqe\njQ4/EUxyvL4R3LMZe3RyZ0+fjiG4bviIZDDXaUVC0B1vxx4Cd8LBSptc1L8s\nRHQ+QOmv5K6JHMOk8llz7/e52z42WY/ypY4WlQbB7UDKkGS/PUwAsS846NfA\nnkv8/d558N+BB/B9SrVOuIybqFmTOcXfBCOuY79j0eMrBtdxOXjay+l1daX9\nhARmnYAg+P1zYZ+om9KiHPN11K0N892QxilJGIrHpTlY35DVOCNHpyvKTmi+\nxDr09f3j8o6NPMtZav6lcjaI2MLZaXKY4VgoWXFyoao6kG68hLpynQ/9SaPD\nKDVJ\r\n=60Sw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0e69153daf46cc2a20f704003f21f0a870bec31f","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"_npmVersion":"6.14.11","description":"A cache for a single user","directories":{},"_nodeVersion":"14.15.4","dependencies":{"safe-stable-stringify":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^12.6.0","snazzy":"^8.0.0","graphql":"^14.1.1","standard":"^12.0.1","pre-commit":"^1.2.2","graphql-tools":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_0.4.0_1613671312940_0.6027705951680897","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"single-user-cache","version":"0.5.0","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@0.5.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/mcollina/single-user-cache#readme","bugs":{"url":"https://github.com/mcollina/single-user-cache/issues"},"dist":{"shasum":"87a33e5cc00c7a429c9575b17b99be4770e0a293","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-0.5.0.tgz","fileCount":10,"integrity":"sha512-PpQ7w+Y67r3wHjWgM/u18oHtzGWGKXr3Z7FvGzarnDsiFadIWkMAvcXWa6AhcRjB2+28KjqhLNok196nssos3Q==","signatures":[{"sig":"MEQCICwg+ytgeIuFhul70CSwS5KCQmYySpaDYszXMrygPXPHAiBO1URBTnLMxqjF/ByXlgaGZVhTlNmzwjcxnq68OlEong==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7hVRCRA9TVsSAnZWagAA5eYP/2EZ8uxbLWFw8p3Q+h/p\nJkDm/Of/Hrv6+UtNeAEoohsMNyZ2NqpRlKH+6ZYSCandJ7rzpssFLEphpdrn\nzEc0XOXYRqmjxpU6OujHIOItKzz1ytH/gwSG5RP9eYJZ9vUy1A40hxkic+cu\nvoMYHGJZvOaFWT8WMU6Vg4MHhWqELDGcYOCl7KrGb1Bc2sCTCZAQXIDUR8/R\njGkdQJeMC1T69Bzlg41g8jLaXKyBH6Kw1jYmVY7lLneeh5nT9lLFpGEKRSqz\nZ6QjCIxwmYZV71hrAOXcNHFiVvoPRIC/SP2edP2O5jlW+6Ueyz18g5962Aod\n6X1Y+CdL4gBsjyjeOwIgD+xA4cn/HEv6L6dtNTsmr/E7tX9Es4YMiSxDb1ed\nwktHf2p/O5jPoCDGf8NF7Wt5MzkrQIpb30LqtHuU5PFKuHhzNHiL1Ce745Rb\nGz1pwON0m6vg8u5K8KeLXqeMOd4AplBeabuOOT7NgUTP6NxvmAVUzhpOOPKd\njceXAjZnMY22ydhEZAgnbhgI0A3pes2X1s/rfbFfWht6SH2CHoNVg8HWv5+L\nbTpz11vlkK6FNzLfNxq3SyuWA34O8q5J/ktJjr5tlZOW0H9WUf3olCbhWah9\n64v4cPlFe77sKu6LcjGWaVzCKvpr/ucQ69O7QrLOEgLWMW04fTLMC6vyVWwi\nDBe4\r\n=FYu2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e105b0ed098082dfcc563a3487191e90f01065f3","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/mcollina/single-user-cache.git","type":"git"},"_npmVersion":"6.14.13","description":"A cache for a single user","directories":{},"_nodeVersion":"14.17.3","dependencies":{"safe-stable-stringify":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.9","snazzy":"^8.0.0","graphql":"^15.0.0","standard":"^16.0.0","graphql-tools":"^7.0.5","@fastify/pre-commit":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_0.5.0_1626215760596_0.7509762322997644","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"single-user-cache","version":"0.6.0","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@0.6.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/mcollina/single-user-cache#readme","bugs":{"url":"https://github.com/mcollina/single-user-cache/issues"},"dist":{"shasum":"54cc8ca1034c38c4d32c200000d3ced931993599","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-0.6.0.tgz","fileCount":10,"integrity":"sha512-uMrANoiybpbsrVDbZ2M7GPzxeqZiirwkVnsDAre1zGhXAAw+2dImTxu7h0l1sIVtwGeJnVsRxgG4I5rZrUX0rw==","signatures":[{"sig":"MEUCIQCv4tYyEH242q3pkxa/gPVId24uAKIqRqn3YpFoTcW0FAIgcDUZ0rKqi7Z6hYmR5yNfSI+sd/aMifFzosI4/cjJ1Zs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh27PGCRA9TVsSAnZWagAA3eAP/2VlFfTrnVC4x2hHheRh\n9Mc0Mc1iZaBhrurrpIsqJIC/KiOwj5J+cCyLbdFlvd5iE4vH7HoJH2X/hrjs\ngRgU9rsZgWL1q8qlHZe2m3543mbUaV4akgmAvVDgjRiDCAlm8Qb+LOly3Qmg\nIHtA4tXc7sXvODvqRgjsruwx2McuG7X6od/AdywgUoYHvoVhfwMoIdevmc6p\ntZLi7V5Y4mhgb3rX5Pn8PN1pB6jojkf+qdVLxxd7DraIZF6YvMtu41sVC+sD\nlyT2Dm9j275MfxeBzCzZchUW+CsaPUkSSHhmt0ehSR6uWnB/AEGUY47ILjf4\nqnYgpZscf6PkFnpCA8DqXcQdl07tQ//fzE7zX95ygwcgpDaaPi1EM3hDv5Vv\nIMGsyxMbAa/wz/L9BhdBhiswEvPN7JCQz0ApGJoui2W4Ok8kaqrKD0Vr4Xps\noY5loJxTfEGS3ZLm0pNBtHWr+dREvDG8mH3i4S2pXjSgsnaL0Y9jelnVFxeq\nFz59Pv1nUdx6YF8IcNAqczbLEoIIyQkVdkIYLxIcY+6qi+OIXEcnqGl3uJK6\narZO6lxvzr2YUGT6ixhoBfyloQoNNzPOodkCGxsXUmon3wyq/AbkQzUING3D\nC0J7kyaKYi1/0wM7lBUAQC9s1/e9qyKLKaT0zvi1mVzyqAx8dD7LHjDSTiDT\nwCiN\r\n=nImU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6ddd2ccdecc9dcc6f11ca9c9154bb56b8d8bc958","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/mcollina/single-user-cache.git","type":"git"},"_npmVersion":"8.0.0","description":"A cache for a single user","directories":{},"_nodeVersion":"16.11.0","dependencies":{"safe-stable-stringify":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.9","snazzy":"^9.0.0","graphql":"^15.0.0","standard":"^16.0.0","graphql-tools":"^8.0.0","@fastify/pre-commit":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_0.6.0_1635096323498_0.11986469852325099","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"single-user-cache","version":"1.0.0","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@1.0.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/mcollina/single-user-cache#readme","bugs":{"url":"https://github.com/mcollina/single-user-cache/issues"},"dist":{"shasum":"727f8577e2c1060135a4240ea158aac716001f75","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-1.0.0.tgz","fileCount":10,"integrity":"sha512-iBj0DUUhRbNiHebEGcn5p8WK+XP/S8vcFkRKN6J3SYjRW7p7Ymvc2ujHp35lYKt1nNSiDU8I6mSgYJy6ofzSdw==","signatures":[{"sig":"MEYCIQCTXWdQ4b3qTb2A0Zp0AjxZQSY+ohn5e30ljDEueNn1kgIhAL2mYZTGW37WRmyOkq9uVyJwRypiwAlVNiVjugKN25lk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13595},"main":"index.js","gitHead":"6f00921c26a74c790cc1f1c864860c883858e43a","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/mcollina/single-user-cache.git","type":"git"},"_npmVersion":"9.8.1","description":"A cache for a single user","directories":{},"_nodeVersion":"18.18.1","dependencies":{"safe-stable-stringify":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.9","snazzy":"^9.0.0","graphql":"^16.8.1","standard":"^17.1.0","@fastify/pre-commit":"^2.1.0","@graphql-tools/schema":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_1.0.0_1700064197844_0.3820861346652593","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"single-user-cache","version":"1.0.1","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@1.0.1","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/mcollina/single-user-cache#readme","bugs":{"url":"https://github.com/mcollina/single-user-cache/issues"},"dist":{"shasum":"f46050eb6ce235e55f943cfa6e0b545a49ef1ff6","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-1.0.1.tgz","fileCount":10,"integrity":"sha512-xFW/TuZUKoMZl47xqfC2jb7dO1XtJ5VgZxQliOKQWTueIH96CX6USaPiZcyDN0HFb4Ow+tsXpJZViRyIkl/rDA==","signatures":[{"sig":"MEUCIF3NCJVOIiMSZd4njAER1mY8jVw1BAJF8eG7Y82sTYxmAiEAjoUplEBXl4lCzoK9EUmB7lBRPQcqdGZbj9k/SPAVAQw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325},"main":"index.js","gitHead":"f0abbb469f4c633b2873b1689588e6a49150bf54","scripts":{"test":"standard | snazzy && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/mcollina/single-user-cache.git","type":"git"},"_npmVersion":"9.8.1","description":"A cache for a single user","directories":{},"_nodeVersion":"18.18.1","dependencies":{"safe-stable-stringify":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.9","snazzy":"^9.0.0","graphql":"^16.8.1","standard":"^17.1.0","@fastify/pre-commit":"^2.1.0","@graphql-tools/schema":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_1.0.1_1700152718705_0.10206196606530016","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"single-user-cache","version":"2.0.0","keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"single-user-cache@2.0.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/mcollina/single-user-cache#readme","bugs":{"url":"https://github.com/mcollina/single-user-cache/issues"},"dist":{"shasum":"8571d04387fd9e3260d7af26f1464d3c15b345bd","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-2.0.0.tgz","fileCount":11,"integrity":"sha512-AGsTqnYmJH59HtK/5RhCfWh0cz3/Y2bxJf4w+0chSdkg1WmS8vYMnFGZc+C/m0gDZFl4iQ9sSLv7oURP6aKJwQ==","signatures":[{"sig":"MEUCIQDElrCM+9KvZkXhxlMKh1qam2FrgRxpgsSwt5foqZrc5QIgUlIBi82o+Jv1J1g5opgujGv7ErJULHJekh7qZHV/qx8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18569},"main":"index.js","gitHead":"d97ffbb2acad52af22dc424480664fb3b7c0ac2d","scripts":{"test":"eslint . && node --test test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/mcollina/single-user-cache.git","type":"git"},"_npmVersion":"10.9.2","description":"A cache for a single user","directories":{},"_nodeVersion":"22.15.0","dependencies":{"safe-stable-stringify":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.26.0","mitata":"^1.0.34","graphql":"^16.8.1","neostandard":"^0.12.1","@fastify/pre-commit":"^2.1.0","@graphql-tools/schema":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/single-user-cache_2.0.0_1747166223339_0.5873130716064983","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"single-user-cache","version":"2.1.0","description":"A cache for a single user","types":"index.d.ts","main":"index.js","scripts":{"test":"eslint . && node --test test.js && tsd"},"repository":{"type":"git","url":"git+https://github.com/mcollina/single-user-cache.git"},"keywords":["cache","single","user","graphql"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","devDependencies":{"@fastify/pre-commit":"^2.1.0","@graphql-tools/schema":"^10.0.0","dataloader":"2.2.3","eslint":"^9.26.0","graphql":"^16.8.1","mitata":"^1.0.34","neostandard":"^0.12.1","tsd":"^0.33.0"},"dependencies":{"safe-stable-stringify":"^2.4.3"},"_id":"single-user-cache@2.1.0","gitHead":"c003785df546e54d4d37447c5127a00c4be007a7","bugs":{"url":"https://github.com/mcollina/single-user-cache/issues"},"homepage":"https://github.com/mcollina/single-user-cache#readme","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-Wmu+uIEkabMoQPpJTOYhEsE6h/XjnjIhtuB1+tynxeO/hQxwQD0hIDq/ad65P1Tw9wt9f5SKnUe+63m6TMB4Uw==","shasum":"287d27df9ed9b4138f12a7543f24099b9f083c8a","tarball":"https://registry.npmjs.org/single-user-cache/-/single-user-cache-2.1.0.tgz","fileCount":13,"unpackedSize":23321,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICR8khE3nBT7Sr64CV2ePsPEv+OY+gIktG2+FVYMNhHkAiEA1zBi+KkVHiyuk9Xtd2zvt1YC7LJmnUI7F5Je2fI9Wvc="}]},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"directories":{},"maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/single-user-cache_2.1.0_1758808907580_0.29044136069106496"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-08T17:45:11.665Z","modified":"2025-09-25T14:01:47.954Z","0.1.0":"2019-03-08T17:45:11.839Z","0.2.0":"2019-04-18T15:00:26.638Z","0.3.0":"2019-04-19T10:54:31.019Z","0.3.1":"2020-08-07T11:03:02.899Z","0.4.0":"2021-02-18T18:01:53.077Z","0.5.0":"2021-07-13T22:36:00.760Z","0.6.0":"2021-10-24T17:25:23.627Z","1.0.0":"2023-11-15T16:03:18.132Z","1.0.1":"2023-11-16T16:38:38.880Z","2.0.0":"2025-05-13T19:57:03.524Z","2.1.0":"2025-09-25T14:01:47.779Z"},"bugs":{"url":"https://github.com/mcollina/single-user-cache/issues"},"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","homepage":"https://github.com/mcollina/single-user-cache#readme","keywords":["cache","single","user","graphql"],"repository":{"type":"git","url":"git+https://github.com/mcollina/single-user-cache.git"},"description":"A cache for a single user","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"readme":"# single-user-cache\n\nA simple cache system for a single user request, built on the same concepts of [data loader](https://github.com/facebook/dataloader).\n\n## Install\n\n```js\nnpm i single-user-cache\n```\n\n## Usage\n\n```js\nconst { Factory } = require('.')\nconst factory = new Factory()\n\nfactory.add('fetchSomething', {\n  // cache by default, set to false to just do batching\n  cache: true,\n  // unlimited batch size by default, set to a number > 0 to split the batches in chunks\n  maxBatchSize: undefined,\n}, async (queries, context) => {\n  console.log(queries)\n  // [ 42, 24 ]\n\n  console.log(context)\n  // { some: 'data' }\n\n  return queries.map((k) => {\n    return { k }\n  })\n})\n\nasync function run () {\n  const context = {\n    some: 'data'\n  }\n  const cache = factory.create(context)\n\n  const p1 = cache.fetchSomething(42)\n  const p2 = cache.fetchSomething(24)\n\n  const res = await Promise.all([p1, p2])\n\n  console.log(res)\n  // [\n  //   { k: 42 },\n  //   { k: 24 }\n  // ]\n}\n\nrun().catch(console.log)\n```\n\nIf the query parameter is an object, its cache key will be generated\nusing\n[safe-stable-stringify](https://github.com/BridgeAR/safe-stable-stringify).\n\n## Benchmarks\n\nCompared to [dataloader](http://npm.im/dataloader), this library is significantly\nfaster.\n\n```\n➜  node benchmark.js\nclk: ~4.21 GHz\ncpu: Apple M4 Max\nruntime: node 22.15.0 (arm64-darwin)\n\nbenchmark                   avg (min … max) p75 / p99    (min … top 1%)\n------------------------------------------- -------------------------------\ndataloader                     1.09 ms/iter   1.30 ms  █\n                      (718.92 µs … 2.04 ms)   1.72 ms  █      ▄▂\n                    (  2.81 mb …   6.82 mb)   6.73 mb ██▆▂▁▁▂███▇▆▇▅▄▆▂▃▃▃▁\n\nsingle-user-cache            345.48 µs/iter 337.71 µs  ▄▇█\n                    (297.83 µs … 601.96 µs) 526.33 µs ████▃\n                    (  1.20 mb …   2.08 mb)   1.85 mb █████▃▁▁▁▁▁▁▁▁▁▁▂▄▅▅▂\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}