{"id":16262253,"url":"https://github.com/intevel/convert-gitmoji","last_synced_at":"2025-08-22T02:06:15.006Z","repository":{"id":40644804,"uuid":"507420526","full_name":"Intevel/convert-gitmoji","owner":"Intevel","description":"♻️ Simple way to convert strings to gitmojis","archived":false,"fork":false,"pushed_at":"2024-01-25T21:15:03.000Z","size":282,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T02:03:15.132Z","etag":null,"topics":["conversion","gitmoji"],"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/Intevel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-06-25T21:27:55.000Z","updated_at":"2024-09-29T16:10:39.000Z","dependencies_parsed_at":"2024-01-25T22:27:07.064Z","dependency_job_id":"b15812ee-e02b-4bac-b92e-e4e88424051a","html_url":"https://github.com/Intevel/convert-gitmoji","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Intevel/convert-gitmoji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fconvert-gitmoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fconvert-gitmoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fconvert-gitmoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fconvert-gitmoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intevel","download_url":"https://codeload.github.com/Intevel/convert-gitmoji/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fconvert-gitmoji/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271574431,"owners_count":24783319,"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-22T02:00:08.480Z","response_time":65,"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":["conversion","gitmoji"],"created_at":"2024-10-10T17:00:38.111Z","updated_at":"2025-08-22T02:06:14.986Z","avatar_url":"https://github.com/Intevel.png","language":"TypeScript","readme":"# convert-gitmoji\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]\n[![License][license-src]][license-href]\n\nSimple way to replace strings with gitmojis ♻️\n\n## Install\n\n```sh\n\n# Using npm\nnpm install convert-gitmoji\n\n# Using yarn\nyarn add convert-gitmoji\n```\n\n## Usage\n\n### `convert(content: string, withSpace?: boolean | \"leading\" | \"trailing\" | \"both\")`\n\nConvert all gitmojis in a string\n`withSpace` is default `false`, if `true` its sets a trailing (at the end of the string) whitespace after the converted gitmoji.\n\nFor more control, `withSpace` can also be set to `leading` for a whitespace *before the string*, `trailing` for a whitespace *at the end of the string* (same as `true`) or `both` to have the string surrounded by whitespaces.\n\n```js\n// CommonJS\nconst { convert } = require(\"convert-gitmoji\");\n\n// ESM\nimport { convert } from \"convert-gitmoji\";\n\nconvert(':arrow_up: bump qs from 6.10.3 to 6.10.4 (xxx) - **helper:** :pencil:  Updated TSDoc (xxx)', true);\n\n--\u003e \"⬆️ bump qs from 6.10.3 to 6.10.4 (xxx) - **helper:** ✏️ Updated TSDoc (xxx)\"\n\nconvert(\"This:art:is on:fire:!\")\n\n--\u003e \"This🎨is on🔥!\"\n\nconvert(\"This:art:is on:fire:!\", \"both\")\n\n--\u003e \"This 🎨 is on 🔥 !\"\n```\n\n## License\n\nPublished under MIT - Made with ❤️ by Conner Luka Bachmann\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/convert-gitmoji/latest.svg\n[npm-version-href]: https://npmjs.com/package/convert-gitmoji\n[npm-downloads-src]: https://img.shields.io/npm/dt/convert-gitmoji.svg\n[npm-downloads-href]: https://npmjs.com/package/convert-gitmoji\n[github-actions-ci-src]: https://github.com/intevel/convert-gitmoji/actions/workflows/ci.yml/badge.svg\n[github-actions-ci-href]: https://github.com/intevel/convert-gitmoji/actions?query=workflow%3Aci\n[license-src]: https://img.shields.io/npm/l/convert-gitmoji.svg\n[license-href]: https://npmjs.com/package/convert-gitmoji\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintevel%2Fconvert-gitmoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintevel%2Fconvert-gitmoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintevel%2Fconvert-gitmoji/lists"}