Giter Site home page Giter Site logo

ts-utils's Introduction

typescript 工具函数

工欲善其事必先利其器。

开发中积累的一些常用工具函数,减少开发时的重复编码。 分为常用工具函数及一些 es5 以上功能的替代函数。 0 依赖 目前有 200 多个工具函数。

api文档

使用方法

npm引入

pnpm add @mxssfd/ts-utils -S
import { debounce } from '@mxssfd/ts-utils';
debounce(() => {
  console.log('do something');
}, 1000);

cdn引入

<script src="https://cdn.jsdelivr.net/npm/@mxssfd/ts-utils/dist/ts-utils.global.js"></script>
<script>
  tsUtils.debounce(() => {
    console.log('do something');
  }, 1000);
</script>

ts-utils's People

Contributors

mengxinssfd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ts-utils's Issues

types不全

打包后的types不全,子文件夹缺失

项目文件分类

整个项目需分成core,dom,bom。
以后或者可以添加node,vue,react等分类

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.