GithubHelp home page GithubHelp logo

hanzi's Introduction

js-handle

发布命令

npm publish --access=public --registry http://registry.npmjs.org

通用工具类

将数组数据转成 tree 结构数据

因为该会在对象上添加数据,所以请务必在操作前将数据进行深度拷贝

until.arrayToTree

将 base64 转成 Unit8 数组

until.base64ToUint8Array

将 Unit8 数组转成 Base64 字符串

until.byteArrayToBase64

验证 validate

验证手机号码

validate.phone

验证银行卡

validate.cardNo

固定电话

validate.fixedPhone

验证身份证

validate.idCard

验证电子邮箱

validate.email

验证 IP 地址

0:仅验证 IPV4 1:仅验证 IPV6 2:IPV4 或 IPV6

validate.ip

验证 MAC 地址

validate.mac

计算曲线上的坐标点

calcCurvePoint

计算贝塞尔曲线上的点

getBasisPoint

hanzi's People

Contributors

fanpian avatar

Watchers

 avatar

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.