{ "name": "@solid-primitives/utils", "version": "7.0.1", "description": "A bunch of reactive utility types and functions, for building primitives", "author": "Damian Tarnawski @thetarnav ", "contributors": [ "Tom Pichaud " ], "license": "MIT", "homepage": "https://github.com/solidjs-community/solid-primitives/tree/main/packages/utils#readme", "repository": { "type": "git", "url": "git+https://github.com/solidjs-community/solid-primitives.git" }, "bugs": { "url": "https://github.com/solidjs-community/solid-primitives/issues" }, "private": false, "sideEffects": false, "files": [ "dist" ], "type": "module", "module": "./dist/index.js", "types": "./dist/index.d.ts", "browser": {}, "exports": { ".": { "import": { "@solid-primitives/source": "./src/index.ts", "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./immutable": { "import": { "@solid-primitives/source": "./src/immutable/index.ts", "types": "./dist/immutable/index.d.ts", "default": "./dist/immutable/index.js" } }, "./colors": { "import": { "@solid-primitives/source": "./src/colors/index.ts", "types": "./dist/colors/index.d.ts", "default": "./dist/colors/index.js" } } }, "typesVersions": { "*": { "immutable": [ "./dist/immutable/index.d.ts" ], "colors": [ "./dist/colors/index.d.ts" ] } }, "tsdown": { "entry": "src/**/*.{ts,tsx}", "outDir": "dist" }, "scripts": { "dev": "node --import=@nothing-but/node-resolve-ts ../../scripts/dev.ts", "build": "pnpm -w build", "vitest": "vitest -c ../../configs/vitest.config.ts", "test": "pnpm run vitest", "test:ssr": "pnpm run vitest --mode ssr" }, "keywords": [ "utilities", "reactivity", "solid", "primitives" ], "primitive": { "name": "utils", "stage": 3, "list": [ "shallowArrayCopy", "shallowObjectCopy", "shallowCopy", "withArrayCopy", "withObjectCopy", "withCopy", "push", "drop", "dropRight", "filterOut", "filter", "sort", "sortBy", "map", "slice", "splice", "fill", "concat", "remove", "removeItems", "flatten", "filterInstance", "filterOutInstance", "omit", "pick", "split", "merge", "get", "update", "add", "substract", "multiply", "divide", "power", "clamp", "json", "ndjson", "lines", "number", "safe", "pipe", "wrapSetter", "parseColor", "normalizeColor", "tryParseColor", "isValidColor", "detectColorFormat", "getColorChannels", "normalizeHue", "colorToOKLCH", "lighten", "darken", "saturate", "desaturate", "complement", "mix", "contrastRatio", "isReadable", "colorScale", "perceptualColorScale", "COLOR_INTL_TRANSLATIONS" ], "category": "Utilities", "gzip": 1606 }, "peerDependencies": { "@solidjs/web": "catalog:peer", "solid-js": "catalog:peer" }, "devDependencies": { "@solidjs/web": "catalog:", "solid-js": "catalog:peer" } }