utils-daily
v1.0.5
Published
utils functions for daily frontend coding
Downloads
9
Readme
utils-daily
Utils functions for daily frontend coding.
- 🔥 Size is minimized by
tree-shaking
ability fromrollup
- 🔥 Support
TypeScript
- 🔥 Code style is kept by
eslint
- 🔥 Code quality is kept by unit test (
jest
)
Document
We have a detailed online api document.
Usage
Usage 1: use HTML Script tag
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/library/utils-daily.min.js"></script>
<script>
console.log(u.add([1, 2, 3, 4])) // '10'
</script>
Usage 2: use npm
Install:
npm i -S utils-daily
Use:
// directly import functions you need
import { add } from 'utils-daily'
add([1, 2, 3, 4]) // '10'
Open source
This project is open sourced, and you can see code in Github: https://github.com/Yakima-Teng/utils-daily。
License
MIT LICENSE