clear-cache
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

clear-cache

Simple library to clear cache and reload after

NPM JavaScript Style Guide

Install

npm install --save clear-cache
yarn install clear-cache

Usage

import {clearCache} from "clear-cache"

clearCache()

Parameters

This is the list of parameters that you should probably know about.

reloadAfterClear

boolean | optional | defaults to: true

Allows triggering a refresh once the cache is cleaned.

License

MIT © dimitridumont

Package Sidebar

Install

npm i clear-cache

Weekly Downloads

1,574

Version

1.1.0

License

MIT

Unpacked Size

1.54 kB

Total Files

4

Last publish

Collaborators

  • dimitridumont