{"library":"single-user-cache","type":"library","category":null,"description":"A fast, lightweight cache and batching library for single-user GraphQL requests, inspired by DataLoader. Version 2.1.0 is stable, MIT-licensed, and ships TypeScript types. It creates per-request cache instances that batch multiple calls to the same loader into a single async function invocation. Benchmarks show it is 3x faster than DataLoader. Supports object keys via safe-stable-stringify, configurable caching and batch sizes. Published to npm, actively maintained by mcollina.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","cache","single","user","graphql","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install single-user-cache","imports":["import { Factory } from 'single-user-cache'","import singleUserCache from 'single-user-cache'","import type { Factory } from 'single-user-cache'"]},{"cmd":"yarn add single-user-cache","imports":[]},{"cmd":"pnpm add single-user-cache","imports":[]}],"homepage":"https://github.com/mcollina/single-user-cache#readme","github":"https://github.com/mcollina/single-user-cache","docs":null,"changelog":null,"pypi":null,"npm":"single-user-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}