Skip to content

Yakima-Teng/utils-daily

Repository files navigation

utils-daily

中文文档


utils-daily.js

Downloads Version License

Utils functions for daily frontend coding.

  • 🔥 Size is minimized by tree-shaking ability from rollup
  • 🔥 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/utils-daily@1.0.5/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