{"id":13486874,"url":"https://github.com/Brettm12345/thumbor-ts","last_synced_at":"2025-03-27T21:31:29.760Z","repository":{"id":37787212,"uuid":"218067606","full_name":"Brettm12345/thumbor-ts","owner":"Brettm12345","description":"Immutable TypeScript client for building Thumbor URLs","archived":false,"fork":false,"pushed_at":"2025-03-01T14:51:06.000Z","size":3050,"stargazers_count":15,"open_issues_count":31,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T05:45:55.541Z","etag":null,"topics":["fp-ts","functional-programming","thumbor","thumbor-urls"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Brettm12345.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-28T14:36:41.000Z","updated_at":"2023-07-31T20:24:41.000Z","dependencies_parsed_at":"2023-02-18T16:32:37.315Z","dependency_job_id":"9e9e7b52-1f2d-4366-86c6-5bfcd95ef610","html_url":"https://github.com/Brettm12345/thumbor-ts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brettm12345%2Fthumbor-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brettm12345%2Fthumbor-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brettm12345%2Fthumbor-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brettm12345%2Fthumbor-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brettm12345","download_url":"https://codeload.github.com/Brettm12345/thumbor-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245927243,"owners_count":20695194,"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","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":["fp-ts","functional-programming","thumbor","thumbor-urls"],"created_at":"2024-07-31T18:00:52.386Z","updated_at":"2025-03-27T21:31:29.421Z","avatar_url":"https://github.com/Brettm12345.png","language":"TypeScript","funding_links":[],"categories":["Javascript Integration \u0026 URL Generation"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  Thumbor TS\n\u003c/h1\u003e\n\n\u003cp align=\"center\" \u003e\n  Immutable, method chained, TypeScript DSL for building Thumbor URLs.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca\n    aria-label=\"Yarn Package\"\n    href=\"https://yarnpkg.com/package/thumbor-ts\"\n  \u003e\n    \u003cimg\n      src=\"https://img.shields.io/npm/v/thumbor-ts/latest?style=flat-square\u0026logo=Yarn\u0026label=thumbor-ts@latest\"\n    /\u003e\n  \u003c/a\u003e\n  \u003ca\n    aria-label=\"Downloads\"\n    href=\"https://www.npmjs.com/package/thumbor-ts\"\n  \u003e\n    \u003cimg\n      src=\"https://img.shields.io/npm/dm/thumbor-ts?logo=Npm\u0026style=flat-square\u0026label=Downloads\"\n    \u003e\n  \u003c/a\u003e\n  \u003cimg\n    alt=\"Minzipped Size\"\n    src=\"https://img.shields.io/bundlephobia/minzip/thumbor-ts?style=flat-square\u0026label=Minzipped+Size\u0026logo=Webpack\"\n  /\u003e\n  \u003ca\n    aria-label=\"GitHub Workflow CI Status master\"\n    href=\"https://github.com/Brettm12345/thumbor-ts/actions?query=workflow%3ACI\"\n  \u003e\n    \u003cimg\n      src=\"https://img.shields.io/github/workflow/status/brettm12345/thumbor-ts/CI/master?label=CI\u0026logo=github\u0026style=flat-square\u0026cacheSeconds=3600\"\n    /\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"code style: prettier\" href=\"https://prettier.io\"\u003e\n    \u003cimg\n      src=\"https://img.shields.io/badge/Code_Style-prettier-ff69b4.svg?style=flat-square\u0026logo=prettier\"\n    /\u003e\n  \u003c/a\u003e\n  \u003ca\n    aria-label=\"Maintainability\"\n    href=\"https://codeclimate.com/github/Brettm12345/thumbor-ts/maintainability\"\n  \u003e\n    \u003cimg\n      src=\"https://img.shields.io/codeclimate/maintainability-percentage/Brettm12345/thumbor-ts?logo=Code%20Climate\u0026style=flat-square\u0026label=Maintainability\u0026cacheSeconds=3600\"\n    /\u003e\n  \u003c/a\u003e\n  \u003ca\n    aria-label=\"Test Coverage\"\n    href=\"https://codeclimate.com/github/Brettm12345/thumbor-ts/test_coverage\"\n  \u003e\n    \u003cimg\n      src=\"https://img.shields.io/codeclimate/coverage/Brettm12345/thumbor-ts?label=Coverage\u0026logo=Code%20Climate\u0026style=flat-square\u0026cacheSeconds=3600\"\n    /\u003e\n  \u003c/a\u003e\n  \u003ca\n    aria-label=\"Github commit activity\"\n    href=\"https://github.com/brettm12345/thumbor-ts/commits\"\n  \u003e\n    \u003cimg\n      src=\"https://img.shields.io/github/commit-activity/m/brettm12345/thumbor-ts?label=Commit%20Activity\u0026logo=Github\u0026style=flat-square\u0026cacheSeconds=360\"\n    /\u003e\n  \u003c/a\u003e\n  \u003ca\n    aria-label=\"Pull Requests\"\n    href=\"https://github.com/Brettm12345/thumbor-ts/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc\"\n  \u003e\n    \u003cimg\n      src=\"https://img.shields.io/badge/contributions-open-success?style=flat-square\u0026logo=Github\"\n    /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\n- `yarn add thumbor-ts`\n- `pnpm i thumbor-ts`\n- `npm i --save thumbor-ts`\n\n## Usage\n\n```typescript\nimport Thumbor from 'thumbor-ts';\n\n// Your encryption key is not required, but your link will be unsafe.\nconst thumbor = Thumbor({\n  serverUrl: 'http://myserver.thumbor.com',\n  securityKey: 'MY_KEY'\n});\n\n// Generate your url\nconst thumborUrl = thumbor\n  .setPath('00223lsvrnzeaf42.png')\n  .resize(50, 50)\n  .smartCrop()\n  .format('webp')\n  .buildUrl();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrettm12345%2Fthumbor-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBrettm12345%2Fthumbor-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrettm12345%2Fthumbor-ts/lists"}