Install npm install perf-request Example import { perfRequest } from 'perf-request'; perfRequest(() => fetchData(), { cacheKey: 'xxx' }); Licencia MIT