common-tool-by-qiuqiu
v1.0.3
Published
This is a common tool library for JavaScript.
Downloads
38
Readme
CommonToolLibrary
This is a common tool library for JavaScript.
Install
npm i common-tool-by-qiuqiuyu
Usage
import { log } from 'common-tool-by-qiuqiuyu'
log('Hello, world!')
API
- log(message: string): void
- saveToLocalStorage(key: string, value: any): void
- getFromLocalStorage(key: string, isJson: boolean): any
- removeFromLocalStorage(key: string): void