{"id":23175802,"url":"https://github.com/ant-js/replace-emoji","last_synced_at":"2025-04-05T01:20:53.733Z","repository":{"id":57353707,"uuid":"366099182","full_name":"ant-js/replace-emoji","owner":"ant-js","description":"🔍 Replace emojis from string or string[]","archived":false,"fork":false,"pushed_at":"2021-07-27T05:08:37.000Z","size":26,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T18:04:06.721Z","etag":null,"topics":["emoji","replace","tools"],"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/ant-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-10T15:58:59.000Z","updated_at":"2022-10-27T06:06:59.000Z","dependencies_parsed_at":"2022-09-15T23:10:36.264Z","dependency_job_id":null,"html_url":"https://github.com/ant-js/replace-emoji","commit_stats":null,"previous_names":["xrkffgg/replace-emoji"],"tags_count":4,"template":false,"template_full_name":"one-template/react-component-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ant-js%2Freplace-emoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ant-js%2Freplace-emoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ant-js%2Freplace-emoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ant-js%2Freplace-emoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ant-js","download_url":"https://codeload.github.com/ant-js/replace-emoji/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247272621,"owners_count":20911778,"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":["emoji","replace","tools"],"created_at":"2024-12-18T06:09:35.223Z","updated_at":"2025-04-05T01:20:53.712Z","avatar_url":"https://github.com/ant-js.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔍 replace-emoji\n\n🔍 Replace emojis from string or string[]\n\n[![](https://img.shields.io/npm/v/replace-emoji?style=flat-square)](https://www.npmjs.com/package/replace-emoji)\n\n## Usage\n\n```bash\nnpm i replace-emoji\n# or\nyarn add replace-emoji\n```\n\n```js\nimport replaceEmoji from 'replace-emoji';\n// or\nconst { replaceEmoji } = require('replace-emoji');\n\nreplaceEmoji('🤖123'); // =\u003e 123\nreplaceEmoji('🤖123', '6'); // =\u003e 6123\nreplaceEmoji(['🤖1', '🤖2']); // =\u003e ['1', '2']\n```\n\n```js\n/**\n *\n * @param s The string or strings to be replaced\n * @param r The content to be replaced\n * @param reg Customize RegExp\n * @returns Replaced result\n */\n```\n\n## Changelog\n\n[CHANGELOG](./CHANGELOG.md)\n\n## LICENSE\n\n[MIT](.LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fant-js%2Freplace-emoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fant-js%2Freplace-emoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fant-js%2Freplace-emoji/lists"}