JS Utils

Utils

Object

  • nemtsov/json-mask - Tiny language and engine for selecting specific parts of a JS object, hiding the rest.
  • substantial/updeep - Easily update nested frozen objects and arrays in a declarative and immutable manner.

Math

  • josdejong/mathjs - An extensive math library for JavaScript and Node.js

  • nefe/number-precision - 🚀1K tiny & fast lib for doing addition, subtraction, multiplication and division operations precisely

Currency

Promisify

URL

Component

Concurrency

  • rxaviers/async-pool - Run multiple promise-returning & async functions with limited concurrency using native ES6/ES7

Address

  • modood/Administrative-divisions-of-China - 中华人民共和国行政区划:省级(省份)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会) ,中国省市区镇村二级三级四级五级联动地址数据。

Browser

JS API

Regexp

EventBus

QRCode

Tools

KaTeX

XSS

  • apostrophecms/sanitize-html - Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
  • leizongmin/js-xss - Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

QS

Memoization

Plugins

TS TYPE

UA