{"id":16528304,"url":"https://github.com/adrieankhisbe/emojizer","last_synced_at":"2025-10-11T15:39:10.774Z","repository":{"id":55486822,"uuid":"298666584","full_name":"AdrieanKhisbe/emojizer","owner":"AdrieanKhisbe","description":"Less is more with emojies 😉","archived":false,"fork":false,"pushed_at":"2024-07-12T21:08:44.000Z","size":581,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-17T20:19:22.432Z","etag":null,"topics":["cli","command-line","emoji","gemoji","hacktoberfest","less","pager","shell"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/AdrieanKhisbe.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-25T19:50:48.000Z","updated_at":"2023-08-21T08:19:59.000Z","dependencies_parsed_at":"2024-07-12T22:06:47.585Z","dependency_job_id":null,"html_url":"https://github.com/AdrieanKhisbe/emojizer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrieanKhisbe%2Femojizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrieanKhisbe%2Femojizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrieanKhisbe%2Femojizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrieanKhisbe%2Femojizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdrieanKhisbe","download_url":"https://codeload.github.com/AdrieanKhisbe/emojizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219859802,"owners_count":16556033,"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":["cli","command-line","emoji","gemoji","hacktoberfest","less","pager","shell"],"created_at":"2024-10-11T17:39:05.389Z","updated_at":"2025-10-11T15:39:05.741Z","avatar_url":"https://github.com/AdrieanKhisbe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emojizer\n\n[![Npm version](https://img.shields.io/npm/v/emojizer.svg)](https://www.npmjs.com/package/emojizer)\n[![Tag Version](https://img.shields.io/github/tag/AdrieanKhisbe/emojizer.svg)](https://github.com/AdrieanKhisbe/emojizer/tags)\n[![Build Status](https://github.com/AdrieanKhisbe/emojizer/actions/workflows/ci.yml/badge.svg)](https://github.com/AdrieanKhisbe/emojizer/actions)\n[![codecov](https://codecov.io/gh/AdrieanKhisbe/emojizer/branch/master/graph/badge.svg)](https://codecov.io/gh/AdrieanKhisbe/emojizer)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n\u003e Turn your :emoji_codes: into thier emoji character :wink:\n\n## About\n**`emojizer`** is a program filter that turn github emoji codes into associated character.\n\nWanna try before install? just `npx emojizer \"Try me :wave:\"`,\nand if you want to install an standard global install will do it: `npm install -g emojizer`\n\n### CLI\n\nAs a pipe, just place it between your program, and your eventual pager.\nYou can use either `emojizer` or its alias `emojize`.\n\n```bash\necho \"Something with emojies :upside_down_face:\" | emojizer\n# 📺 Something with emojies 🙃\n\necho \"Insert before your pager :pager:\" | emojizer | less\n```\n\nYou can also provide input as argument, either as text, either as file using the `-f`/`--file` flag\n\n```bash\nemojizer \"Some string\" \"with or without\" \"emojies :slightly_smiling_face:\"\n# 📺 Some string\n#    with or without\n#    emojies 🙂\nemojizer -f README.md CHANGELOG.md\n# 📺 ...README then CHANGELOG with emoji code replaces\n```\n\nUsing zsh, you can for instance define a global alias that combine `emojizer` and `less` or any other pager you use.\n```bash\nalias -g eless=\"emojizer|less\"\n# then just\ngit log --oneline --color | eless\n```\n\nNote that used with `git log` you might have to force color output, with `--color` flag for instance.\n\n#### Detailed help\nJust provide the `-h` or `--help` flag and you'll have the help displayed:\n\n```\nReplace your emoji codes with \"real\" emojies 😉\n\nUsage:\n    cat something | emojizer\n    emojizer \"text with :slightly_smiling_face:\" \":wink:\"\n    emojizer -f README.md\n\n\nOptions:\n      --version  Show version number                                   [boolean]\n  -f, --file     Treat args as file to read from      [boolean] [default: false]\n  -h, --help     Show help                                             [boolean]\n```\n\n### API\nInternal replacing logic is exposed and so functionality can be reuse.\n\nProvided API is so far limited, but it expose:\n- a function to replace emoji code with corresponding emoji caracter: `replaceEmojiCodes`\n- a function to create a `Transform` stream: `getEmojizerStream`\n- the `emojiIndex` used internaly and provided by the **[`gemoji`](https://github.com/wooorm/gemoji)** library (`emoji/name-to-emoji.json`)\n\n```js\nconst {replaceEmojiCodes} = require('emojizer');\n\nconsole.log(replaceEmojiCodes('some text with :symbols:'));\n\n// for getEmojizerStream, see the source or the tests 📃\n```\n\n## Miscaleanous\n\nOriginal release was made under the name `emojiless` with catchphrase\n\u003e Less is more with emojies :wink:\n\nNamed was changed as `less` was misleading, program not being a pager.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrieankhisbe%2Femojizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrieankhisbe%2Femojizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrieankhisbe%2Femojizer/lists"}