tool-helper
English | 中文
Introduction
Collect and organize commonly used tool functions to facilitate unified maintenance and management. It can also be used as a way to learn rollup + typescript
.
Welcome everyone to contribute code~
Documentation
Install
npm
npm i tool-helper -S
pnpm
pnpm i tool-helper -S
yarn
yarn add tool-helper
Use
ESM
import { isNumber } from 'tool-helper'
isNumber('test')
CJS
const tools = require('tool-helper')
tools.isNumber('test')
Browser support
Support modern browsers and IE11, untested below 11.
IE |
Edge |
Firefox |
Chrome |
Safari |
---|---|---|---|---|
support IE11 | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
How to contribute
You can Raise an issue Or submit a Pull Request.
Pull Request:
- Fork code
- Create your own branch:
git checkout -b feat/xxxx
- Submit your changes:
git commit -am 'feat: add xxxxx'
- Push your branch:
git push origin feat/xxxx
- submit
pull request
Git Contribution submission specification
feat
New featuresfix
Fix bugsstyle
Format and style (changes that do not affect code operation)refactor
Refactorperf
Optimize related, such as improving performance and experiencetest
Add testchore
Changes in the construction process or auxiliary toolsworkflow
Workflow improvementtypes
type
License
Contributors
葉家男孩 |
Archer |
Zephyr |