Giter Club home page Giter Club logo

xjstool's Introduction

注意:此项目不再更新维护,您可以考虑这个项目:x-js-kit

CI

Build Status

简介

本程序为javascript常用工具类,包含最常用的字符串处理、日期格式处理、正则表达式、AJAX、数据类型转换、浏览器判断等非常实用的功能。

包含但不限于如下功能模块:

  • 数组处理
  • 浏览器处理
  • 公共方法
  • ContentType处理
  • Cookie处理
  • 日期时间转换处理
  • DOM节点操作
  • Http处理
  • JSON处理
  • 数学计算
  • 移动端判断
  • 随机数
  • 常用正则
  • 字符串处理
  • URL处理
  • 其它

编译

在代码根目录执行 $ gulp

使用

  • 方法一:直接引用

    <script src="../build/XJsTool.js"></script>

  • 方法二:使用require方式

      require.config({
      	paths:{
      		XJsTool:'../build/XJsTool'
      	}
      });
      
      require(["XJsTool"], function (x) {
      	//......
      });
      

文档

在线预览文档

授权协议

免费,且开源,基于LGPL协议。

xjstool's People

Contributors

xucongli1989 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.