@phun-ky/moebius
Version:
@phun-ky/moebius is a versatile JavaScript library that automatically generates visually pleasing and customizable color palettes from a given base color. Whether you're building data visualizations, UIs, or design systems, Möbius offers various harmony m
146 lines (145 loc) • 4.76 kB
JSON
{
"name": "@phun-ky/moebius",
"version": "2.0.47",
"description": "@phun-ky/moebius is a versatile JavaScript library that automatically generates visually pleasing and customizable color palettes from a given base color. Whether you're building data visualizations, UIs, or design systems, Möbius offers various harmony modes (analogous, complementary, triadic, and more), smooth interpolation, luminance shifts, and diverging palette generation - all with extensive color format support and intuitive API design.",
"keywords": [
"color",
"colors",
"palette",
"palettes",
"color-palette",
"color-generator",
"palette-generator",
"color-scheme",
"color-schemes",
"design",
"ui-design",
"css",
"javascript",
"typescript",
"color-theory",
"color-harmony",
"analogous",
"complementary",
"split-complementary",
"triad",
"triadic",
"tetrad",
"tetradic",
"pentad",
"pentadic",
"hexad",
"hexadic",
"monochrome",
"monochromatic",
"interpolate",
"luminance",
"diverging",
"chroma",
"chromatic",
"color-manipulation",
"color-utils",
"accessibility",
"a11y",
"visualization",
"data-visualization",
"theme-generator",
"web-design",
"creative-coding"
],
"homepage": "https://github.com/phun-ky/moebius#readme",
"bugs": {
"url": "https://github.com/phun-ky/moebius/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/phun-ky/moebius.git"
},
"license": "MIT",
"author": "Alexander Vassbotn Røyne-Helgesen <alexander+github.com@phun-ky.net>",
"type": "module",
"main": "dist/moebius.js",
"types": "dist/moebius.d.ts",
"files": [
"/dist/moebius.js",
"/dist/moebius.js.map",
"/dist/moebius.d.ts"
],
"scripts": {
"build": "npm run clean && npm run rollup",
"clean": "rm -rf dist dts",
"commit": "npx git-cz",
"docs:gen": "node ./node_modules/.bin/typedoc",
"predocs:dev": "npm run docs:gen",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"release": "release-it",
"rollup": "rollup -c",
"prewatch": "npm run clean",
"watch": "rollup -c -w",
"style:code": "npx putout src",
"style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix && ./node_modules/.bin/prettier --write ./eslint.config.mjs src",
"style:lint": "./node_modules/.bin/eslint -c ./eslint.config.mjs src && ./node_modules/.bin/prettier --check src",
"test": "npm run test:unit",
"pretest:ci": "rm -rf coverage && mkdir -p coverage",
"test:ci": "glob-bin -c \"node --import tsx --import global-jsdom/register --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"./src/**/__tests__/**/*.[jt]s\"",
"test:unit": "glob-bin -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.[jt]s\""
},
"config": {
"commitizen": {
"path": "./node_modules/git-cz"
}
},
"dependencies": {
"@phun-ky/typeof": "^3.0.4",
"chroma-js": "^3.1.2",
"nearest-color": "^0.4.4"
},
"devDependencies": {
"@release-it/conventional-changelog": "^11.0.1",
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.8.0",
"@types/chroma-js": "^3.1.2",
"@types/node": "^25.9.1",
"cobertura": "^1.0.1",
"eslint": "^10.0.0",
"eslint-config-phun-ky": "^2.0.5",
"git-cz": "^4.9.0",
"glob-bin": "^1.0.0",
"global-jsdom": "^29.0.0",
"jsdom": "^29.1.0",
"prettier": "^3.9.4",
"putout": "^42.7.20",
"release-it": "^20.2.1",
"remark-github": "^12.0.0",
"remark-toc": "^9.0.0",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.0",
"rollup-plugin-typescript2": "^0.37.0",
"tslib": "^2.3.1",
"tsx": "^4.23.0",
"typedoc": "^0.28.20",
"typedoc-plugin-frontmatter": "^1.3.1",
"typedoc-plugin-markdown": "^4.12.0",
"typedoc-plugin-mdn-links": "^5.0.10",
"typedoc-plugin-no-inherit": "^1.4.0",
"typedoc-plugin-remark": "^2.0.0",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typedoc-vitepress-theme": "^1.1.3",
"typescript": "^6.0.3",
"unified-prettier": "^2.0.1",
"vitepress": "^1.6.4",
"vitepress-plugin-group-icons": "^1.6.5"
},
"engines": {
"node": ">=22.9.0",
"npm": ">=11.0.0"
},
"publishConfig": {
"access": "public"
}
}