Skip to content

zguiyang/quick-utils-js

Repository files navigation

Introduction

This tool provides us with a quick and common tool method functions in the front-end project business. Most of the code of the tool library comes from the network and the community, and uses part of outils sound code, All projects are developed usingTypescript, The current tool library containsArray,Blob,Cookie,Date,Device,Dom,Number,Object,Random,Regex,String related operation methods and some tool methods. At present, some tool functions in the tool library are not very many, and will be gradually increased later.

In addition, the library differs from lodash in that the tool functions in this tool are tool methods that are isolated from the project business (business direction tool functions) rather than pure tool methods. We also welcome suggestions to optimize, or directly raisePR, any questions, can be asked in the issue

repo

gitee

Compatibility

Browser

Internet Explorer is not supported. The latest 2 versions of modern browsers such asEdge,Firefox,Chrome,Safari. Other versions of these browsers have not been rigorously tested due to development resource constraints. But quick-utils-js is expected to work well on less old versions of these browsers(for example, within 2 years). Feel free to issue if you find any problems

Typescript

Need to release > 3.9.10

Quick start

Install

npm i quick-utils-js or yarn add quick-utils-js

Usage

import { generateUUID } from "quick-utils-js";

console.log ( generateUUID () );