UNPKG

ameliance-scripts

Version:
101 lines (100 loc) 2.24 kB
{ "name": "ameliance-scripts", "version": "0.4.108", "description": "ameliance scripts", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "sideEffects": false, "files": [ "dist" ], "scripts": { "build": "tsup", "test": "jest", "local-publish": "npm link && npm link ameliance-scripts", "lint": "next lint", "demo": "npx ts-node demo/src/index" }, "repository": { "type": "git", "url": "git+https://github.com/AmelianceSkyMusic/ameliance-scripts.git" }, "keywords": [ "scripts", "typescript", "helpers", "collection", "combine-classes", "add-id", "class-name", "clear-local-storage-and-reload", "create-html-elem", "detect-value-type", "error-handler", "get-changed-properties", "get-common-values", "get-current-date-in-ms", "get-current-time-with-offset", "get-different-values", "get-elem-by-key", "get-formatted-date", "get-index-by-key", "get-indexes-of-non-empty-elements", "get-match-soft", "get-match", "get-obj-key-by-value", "get-random-hex-color", "get-random-number", "get-random-rgb-color", "get-scroll-direction", "get-today", "get-value-type", "group-by", "hide-email", "is-arrays-equal", "is-client", "is-object-empty", "is-object-has-value", "is-object-valid", "is-object", "is-valid-url", "join-with", "join", "kebab-to-camel-case", "log", "parse-current-date-from-ms", "remove-empty-values", "set-interval-counts", "shuffle-array", "sort-array-local-compare", "sort-array-of-obj", "string-cut", "to-time-format", "trim-end-empty-values", "trim-start-empty-values", "use-active-class", "write-text-to-clipboard" ], "author": "Ameliance SkyMusic <AmelianceSkyMusic@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/AmelianceSkyMusic/ameliance-scripts/issues" }, "homepage": "https://github.com/AmelianceSkyMusic/ameliance-scripts#readme", "devDependencies": { "husky": "^9.1.5", "jest": "^29.7.0", "lint-staged": "^15.2.10", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "tsup": "^8.2.4", "typescript": "^5.6.2" } }