UNPKG

idmp

Version:

A lightweight TypeScript library for deduplicating and caching async function calls with automatic retries, designed for idempotent network requests in React and Node.js.

2 lines (1 loc) 1.26 kB
{"name":"idmp","version":"3.4.4","description":"A lightweight TypeScript library for deduplicating and caching async function calls with automatic retries, designed for idempotent network requests in React and Node.js.","keywords":["deduplicate network requests","idempotent API calls","API request deduplication","cache concurrent requests","network request caching","API response caching","auto retry on failure","retry failed API calls","swr alternative","prevent duplicate API requests","fetch deduplication","concurrent fetch cache","async function caching","cache async calls"],"homepage":"https://idmp.haozi.me","bugs":"https://github.com/ha0z1/idmp/issues","repository":{"type":"git","url":"https://github.com/ha0z1/idmp.git"},"license":"MIT","author":"haozi","sideEffects":false,"exports":{".":{"import":"./dist/index.js","require":"./dist/index.node.cjs"},"./node-fs":{"import":"./plugins/node-fs/dist/index.js","require":"./plugins/node-fs/dist/index.node.cjs"},"./browser-storage":{"import":"./plugins/browser-storage/dist/index.js","require":"./plugins/browser-storage/dist/index.node.cjs"}},"main":"./dist/index.node.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"fs-extra":"^11.3.0","serialize-javascript":"^6.0.2"}}