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
)
We have a detailed online api document.
<script src="https://cdn.jsdelivr.net/npm/utils-daily@1.0.5/dist/library/utils-daily.min.js"></script>
<script>
console.log(u.add([1, 2, 3, 4])) // '10'
</script>
Install:
npm i -S utils-daily
Use:
// directly import functions you need
import { add } from 'utils-daily'
add([1, 2, 3, 4]) // '10'
This project is open sourced, and you can see code in Github: https://github.com/Yakima-Teng/utils-daily。
MIT LICENSE