0.3.11 • Published 3 years ago
@kaivanwong/utils v0.3.11
@kaivanwong/utils
JavaScript/TypeScript utils commonly used by @kaivanwong
Installation
Install dependency packages
pnpm add @kaivanwong/utils
# You can also use yarn or npm
npm install @kaivanwong/utils --sYou can also choose CDN to import, add this line to your index.html and play
<script src="https://cdn.jsdelivr.net/npm/@kaivanwong/utils/index.min.js"></script>Example
Here's a simple way to use it. Learn more about using documents to find by table
import { setCache } from '@kaivanwong/utils'
setCache('key','save-data')Utils Found Here
| Name | Description |
|---|---|
| auto | Some automated tool functions |
| cache | A general caching method based on storage |
| regexp | Summary of common regular expressions |
| theme | Some useful methods for building themes |
| validate | A simple validate methods for from validation |
More tools are being integrated...
License
MIT licensed © 2022-PRESENT Kaivan Wong