{"id":21512917,"url":"https://github.com/hackdoor-io/imgix","last_synced_at":"2025-10-31T09:37:01.937Z","repository":{"id":36467208,"uuid":"226184697","full_name":"Hackdoor-io/imgix","owner":"Hackdoor-io","description":"🌆 A dependency-free query string builder for Imgix in TypeScript.","archived":false,"fork":false,"pushed_at":"2022-12-10T11:13:12.000Z","size":529,"stargazers_count":7,"open_issues_count":22,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-20T13:49:29.485Z","etag":null,"topics":["imgix","imgix-plugin","imgproxy","query-builder","querystring","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hackdoor-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["MicheleRiva"],"open_collective":"jsmonday"}},"created_at":"2019-12-05T20:36:35.000Z","updated_at":"2021-12-29T16:20:49.000Z","dependencies_parsed_at":"2023-01-17T01:45:24.475Z","dependency_job_id":null,"html_url":"https://github.com/Hackdoor-io/imgix","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Hackdoor-io/imgix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hackdoor-io","download_url":"https://codeload.github.com/Hackdoor-io/imgix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgix/sbom","scorecard":{"id":60689,"data":{"date":"2025-08-11","repo":{"name":"github.com/Hackdoor-io/imgix","commit":"d0b0a1f5d9bd9ec3481d68f1c95651bab9a1b251"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/Hackdoor-io/imgix/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/Hackdoor-io/imgix/nodejs.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"88 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-xp63-6vf5-xf3v","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-vfrc-7r7c-w9mx","Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-x55w-vjjp-222r","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-xf5p-87ch-gxw2","Warn: Project is vulnerable to: GHSA-ch52-vgq2-943f","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-93f3-23rq-pjfp","Warn: Project is vulnerable to: GHSA-jmqm-f2gx-4fjv","Warn: Project is vulnerable to: GHSA-pw54-mh39-w3hc","Warn: Project is vulnerable to: GHSA-xgh6-85xh-479p","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-6fw4-hr69-g3rv","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-r2j6-p67h-q639","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-3f95-r44v-8mrg","Warn: Project is vulnerable to: GHSA-28xr-mwxg-3qc8","Warn: Project is vulnerable to: GHSA-9p95-fxvg-qgq2","Warn: Project is vulnerable to: GHSA-9w5j-4mwv-2wj8","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T01:38:05.414Z","repository_id":36467208,"created_at":"2025-08-15T01:38:05.414Z","updated_at":"2025-08-15T01:38:05.414Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272186211,"owners_count":24888333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["imgix","imgix-plugin","imgproxy","query-builder","querystring","typescript"],"created_at":"2024-11-23T22:48:09.474Z","updated_at":"2025-10-31T09:37:01.826Z","avatar_url":"https://github.com/Hackdoor-io.png","language":"TypeScript","readme":"\u003cimg src=\"/misc/cover.png\" width=\"100%\" /\u003e\n\n[![Build Status](https://travis-ci.com/Hackdoor-io/imgix.svg?branch=master)](https://travis-ci.com/Hackdoor-io/imgix)\n![Codecov](https://img.shields.io/codecov/c/github/hackdoor-io/imgix)\n![npm bundle size](https://img.shields.io/bundlephobia/minzip/@hackdoor/imgix)\n![npm](https://img.shields.io/npm/v/@hackdoor/imgix?color=blue)\n![npm](https://img.shields.io/npm/dt/@hackdoor/imgix?logo=npm)\n\nQuery builder for [Imgix](https://www.imgix.com). \u003cbr /\u003e\n\n# Installation\n\n```bash\nnpm i -S @hackdoor/imgix\n#or\nyarn add @hackdoor/imgix\n```\n\n# Usage\n\n```ts\nimport Imgix from '@hackdoor/imgix'\n\nconst imgix = new Imgix('https://my-imgix-server-url.com')\nconst myImage = imgix\n  .build()\n  .width(300)\n  .height(500)\n  .fit('crop')\n  .get('/my-image-path')\n\nconsole.log(myImage)\n// =\u003e \"https://my-imgix-server-url.com/my-image-path?fit=crop\u0026w=300\u0026h=500\"\n```\n\n# Methods Legenda\n\n- [Adjustments](#adjustments)\n- [Blending](#blending)\n- [Size](#size)\n- [Format](#format)\n- [Rotation](#rotation)\n- [Color Palette](#color-palette)\n\n# Available Methods\n\nCurrently available methods. Let's pretend whe have the following **Imgix** instance:\n\n```ts\nimport Imgix from '@hackdoor/imgix'\n\nconst imgix = new Imgix('https://my-endpoint.imgix.net')\n```\n\n## Converting S3 URL to Imgix Url\n\n```ts\nimport Imgix from '@hackdoor/imgix'\n\nconst imgix = new Imgix('https://my-endpoint.imgix.net')\nconst myImage = imgix\n  .build()\n  .width(300)\n  .height(500)\n  .fit('crop')\n  .fromS3('https://my-s3-bucket.s3.amazonaws.com/foo/bar/baz.png')\n\nconsole.log(myImage)\n// =\u003e \"https://my-endpoint.imgix.net/foo/bar/baz.png?w=500\u0026h=600\u0026fit=crop\"\n```\n\n## Adjustments\n\n#### [Brightness](https://docs.imgix.com/apis/url/adjustment/bri)\n\nA number between `-100` and `100`\n\n```ts\nimgix.brightness(50)\n```\n\n#### [Contrast](https://docs.imgix.com/apis/url/adjustment/con)\n\nA number between `-100` and `100`\n\n```ts\nimgix.contrast(50)\n```\n\n#### [Exposure](https://docs.imgix.com/apis/url/adjustment/exp)\n\nA number between `-100` and `100`\n\n```ts\nimgix.exposure(50)\n```\n\n#### [Gamma](https://docs.imgix.com/apis/url/adjustment/gam)\n\nA number between `-100` and `100`\n\n```ts\nimgix.gamma(50)\n```\n\n#### [Highlight](https://docs.imgix.com/apis/url/adjustment/high)\n\nA number between `-100` and `0`\n\n```ts\nimgix.highlight(-50)\n```\n\n#### [Hue Shift](https://docs.imgix.com/apis/url/adjustment/hue)\n\nA number between `0` and `359`\n\n```ts\nimgix.hueShift(50)\n```\n\n#### [Invert](https://docs.imgix.com/apis/url/adjustment/invert)\n\nA `boolean` value\n\n```ts\nimgix.invert(true)\n```\n\n#### [Saturation](https://docs.imgix.com/apis/url/adjustment/sat)\n\nA number between `-100` and `100`\n\n```ts\nimgix.saturation(50)\n```\n\n#### [Shadow](https://docs.imgix.com/apis/url/adjustment/shad)\n\nA number between `0` and `100`\n\n```ts\nimgix.shadow(50)\n```\n\n#### [Sharpen](https://docs.imgix.com/apis/url/adjustment/sharp)\n\nA number between `0` and `100`\n\n```ts\nimgix.sharpen(50)\n```\n\n#### [Unsharp Mask](https://docs.imgix.com/apis/url/adjustment/usm)\n\nA number between `-100` and `100`\n\n```ts\nimgix.unsharpMask(50)\n```\n\n#### [Unsharp Mask Radius](https://docs.imgix.com/apis/url/adjustment/usmrad)\n\nA number between `-100` and `100`\n\n```ts\nimgix.unsharpMaskRadius(50)\n```\n\n#### [Vibrance](https://docs.imgix.com/apis/url/adjustment/vib)\n\nA number between `-100` and `100`\n\n```ts\nimgix.vibrance(50)\n```\n\n## Blending\n\n#### [Blend](https://docs.imgix.com/apis/url/blending/blend)\n\nA string representing an hex color (`#000`) or an image url (`https://example.com/img.jpg`)\n\n```ts\nimgix.blend('#F500F0')\n```\n\n#### [Blend Align](https://docs.imgix.com/apis/url/blending/blend-align)\n\nOne of the following values: `top`, `middle`, `bottom`, `left`, `center`, `right`\n\n```ts\nimgix.blendAlign('top')\n```\n\n#### [Blend Crop](https://docs.imgix.com/apis/url/blending/blend-crop)\n\nOne of the following values: `top`, `middle`, `bottom`, `left`, `center`, `right`, `faces`\n\n```ts\nimgix.blendCrop('faces')\n```\n\n## Size\n\n#### [Aspect Ratio](https://docs.imgix.com/apis/url/size/ar)\n\nA string in the form of `W:H` (width, height)\n\n```ts\nimgix.aspectRatio('16:9')\n```\n\n#### [Width](https://docs.imgix.com/apis/url/size/w)\n\nA number\n\n```ts\nimgix.width(1920)\n```\n\n#### [Width](https://docs.imgix.com/apis/url/size/h)\n\nA number\n\n```ts\nimgix.height(1080)\n```\n\n## Format\n\n#### [Output Format](https://docs.imgix.com/apis/url/format/fm)\n\nA string, one of: `gif`, `jp2`, `jpg`, `json`, `jxr`, `pjpg`, `mp4`, `png`, `png8`, `png32`, `webm`, `webp`\n\n```ts\nimgix.format('png')\n```\n\n#### [Output Quality](https://docs.imgix.com/apis/url/format/q)\n\nA number between `0` and `100`\n\n```ts\nimgix.quality(75)\n```\n\n## Rotation\n\n#### [Flip](https://docs.imgix.com/apis/url/rotation/flip)\n\nA string, one of: `v`, `h` and `vh`\n\n```ts\nimgix.flip('v')\n```\n\n#### [Orient](https://docs.imgix.com/apis/url/rotation/orient)\n\nA number between `1` and `8` or `90`, `180`, `270`\n\n```ts\nimgix.orient(90)\n```\n\n#### [Rotation](https://docs.imgix.com/apis/url/rotation/rot)\n\nA number between `0` and `359`\n\n```ts\nimgix.rotation(180)\n```\n\n## Color Palette\n\n#### [Colors](https://docs.imgix.com/apis/url/color-palette/colors)\n\nA number between `0` and `16`\n\n```ts\nimgix.colors(5)\n```\n\n#### [Palette](https://docs.imgix.com/apis/url/color-palette/palette)\n\nA string, one of: `css`, `json`\n\n```ts\nimgix.palette('json')\n```\n\n#### [Auto](https://docs.imgix.com/apis/url/auto/auto)\n\nA string, one of: `compress`, `enhance`, `format`, `redeye`\n\n```ts\nimgix.auto('compress')\n```\n\n# License\n\n![FSF](https://static.fsf.org/nosvn/associate/crm/3861816.png)\n\nLicensed under the [GPLv3](/LICENSE.md) license.\n","funding_links":["https://github.com/sponsors/MicheleRiva","https://opencollective.com/jsmonday"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackdoor-io%2Fimgix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackdoor-io%2Fimgix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackdoor-io%2Fimgix/lists"}