@jood/common

javascript array, string, number, point, color, cache, date utility/helper

Documentation | Package source | NPM

Typescript TRAVIS Codecov branch NPM version NPM license NPM download NPM bundle size


Quick sample

import { replaceAll } from "@jood/common/string";
import { isNumber } from "@jood/common/number";
import { insert } from "@jood/common/array";
import { toFormat } from "@jood/common/date";
import { isIntersect } from "@jood/common/point";
import { TTLCache } from "@jood/common/cache";
import { BrowserCookie, BrowserScroll, DomScroll } from "@jood/common/web";
import { JdString, JdNumber, JdArray, JdDate, JdPoint } from "@jood/common";

console.log(replaceAll("hello-foo", "-", "#")); // "hello#foo"
console.log(JdString.replaceAll("hello-foo", "-", "#")); // "hello#foo"

This library was generated with Angular CLI