Installation
RunCache can be easily installed using npm, yarn, or pnpm. The library has no external dependencies, making it lightweight and simple to integrate into your projects.
Using npm
Using yarn
Using pnpm
Browser Usage
RunCache works in both Node.js and browser environments. For browser usage, you can either:
Use a bundler like webpack, Rollup, or Parcel
Import from a CDN like unpkg or jsDelivr
CDN Usage Example
TypeScript Support
RunCache includes TypeScript definitions, so no additional packages are required for TypeScript projects. The library is written in TypeScript, ensuring type safety and excellent IDE integration.
Verifying Installation
To verify that RunCache is installed correctly, you can create a simple test file:
Next Steps
Once you have RunCache installed, check out the Basic Usage guide to learn how to use the basic features of the library.
Last updated