UNPKG

@nevware21/ts-utils

Version:

Comprehensive TypeScript/JavaScript utility library with cross-environment support (Node.js, browser, web worker) providing helper functions, polyfills (ES5-ES2023), type checking utilities, and optimized implementations for better minification and code r

202 lines (201 loc) 5.24 kB
{ "name": "@nevware21/ts-utils", "description": "Comprehensive TypeScript/JavaScript utility library with cross-environment support (Node.js, browser, web worker) providing helper functions, polyfills (ES5-ES2023), type checking utilities, and optimized implementations for better minification and code readability", "version": "0.14.0", "homepage": "https://github.com/nevware21/ts-utils", "license": "MIT", "author": { "name": "Nevware21 Solutions LLC", "email": "github@nevware21.com" }, "keywords": [ "ts", "typescript", "js", "javascript", "minification", "minify", "utils", "helper", "node", "browser", "worker", "webworker", "polyfill", "ES5", "ES6", "ES7", "ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020", "ECMAScript 5", "ECMAScript 6", "ECMAScript 7", "ECMAScript 2015", "ECMAScript 2016", "ECMAScript 2017", "ECMAScript 2018", "ECMAScript 2019", "ECMAScript 2020", "ECMAScript 2021", "ECMAScript 2022", "ECMAScript 2023", "getDocument", "getGlobal", "getHistory", "getInst", "getNavigator", "getWindow", "hasDocument", "hasHistory", "hasNavigator", "hasWindow", "isNode", "isWebWorker", "isArray", "isArrayBuffer", "isBlob", "isBoolean", "isDate", "isError", "isFile", "isFormData", "isFunction", "isIterable", "isIterator", "isNullOrUndefined", "isNumber", "isObject", "isPromise", "isPromiseLike", "isThenable", "isRegExp", "isStrictNullOrUndefined", "isStrictUndefined", "isString", "isTypeof", "isUndefined", "hasValue", "isDefined", "isNotTruthy", "isTruthy", "string left", "strLeft", "string right", "strRight", "normalize js name", "letter case", "lettercase", "camel case", "camelcase", "kebab case", "kebabcase", "snake case", "snakecase", "uppercase", "lowercase", "custom error", "asString", "hasOwn", "defineProperty", "timeout", "idle timer", "timer", "interval", "includes", "string contains", "html encode", "deep-copy", "deep-clone", "throttle", "debounce", "memoize", "utility-functions", "cross-platform", "environment-detection", "tree-shaking", "bundle-size-optimization", "esm", "commonjs", "umd", "type-guards", "object-manipulation", "array-utilities", "string-manipulation", "promise-utilities", "async-utilities", "zero-dependency", "universal", "isomorphic", "cross-runtime", "environment-agnostic", "lodash-alternative", "underscore-alternative", "ramda-alternative", "starts-with", "ends-with", "string-padding", "string-trim", "string-repeat", "array-map", "array-reduce", "array-filter", "array-find", "object-copy", "object-keys", "lightweight", "performance-optimized", "type-safe", "prototype-pollution", "prototype-pollution-prevention", "secure-merge", "secure-copy", "object-security", "defensive-programming", "forEachOwnKeySafe", "isUnsafePropKey", "isUnsafeTarget", "arrKeys", "arrIndexKeys", "sparse-array", "array-like", "from-entries", "has-own", "base64" ], "types": "./dist/types/ts-utils.d.ts", "main": "./dist/es5/main/ts-utils.js", "module": "./dist/es5/mod/ts-utils.js", "esnext:main": "./dist/es6/main/ts-utils.js", "esnext": "./dist/es6/mod/ts-utils.js", "esnext:module": "./dist/es6/mod/ts-utils.js", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/nevware21/ts-utils.git" }, "bugs": { "url": "https://github.com/nevware21/ts-utils/issues" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/nevware21" }, { "type": "other", "url": "https://buymeacoffee.com/nevware21" } ], "licenses": [ { "type": "MIT", "url": "https://github.com/nevware21/ts-utils/blob/main/LICENSE" } ], "dependencies": { } }