{"id":21188493,"url":"https://github.com/drsensor/emmet-cli","last_synced_at":"2025-03-14T20:25:43.964Z","repository":{"id":71509003,"uuid":"536040471","full_name":"DrSensor/emmet-cli","owner":"DrSensor","description":"Emmet in your command line. Doesn't depend on node.js. Installs portable binary.","archived":false,"fork":false,"pushed_at":"2022-09-20T12:52:12.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T19:57:14.221Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DrSensor.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-13T08:57:23.000Z","updated_at":"2022-09-13T09:00:22.000Z","dependencies_parsed_at":"2023-09-03T09:20:45.803Z","dependency_job_id":null,"html_url":"https://github.com/DrSensor/emmet-cli","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/DrSensor%2Femmet-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSensor%2Femmet-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSensor%2Femmet-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSensor%2Femmet-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrSensor","download_url":"https://codeload.github.com/DrSensor/emmet-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243640998,"owners_count":20323763,"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":[],"created_at":"2024-11-20T18:45:20.307Z","updated_at":"2025-03-14T20:25:43.942Z","avatar_url":"https://github.com/DrSensor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emmet-cli\n\n[Emmet](https://emmet.io/) in your command line. Doesn't depend on `node.js`. Installs portable binary.\n\n## Build\n\nInstall [quickjs](https://bellard.org/quickjs/) compiler and build binary with `make` command.\n\n### Generating emmet.js (optional)\n\nYou can optionally generate `emmet.js` file from emmet's source. This step requires `node.js` and `npm` installed, for that reason I am including generated file in repository.\n\n```\ncd emmet-src/\nnpm install\nnpm run build\n```\n\n## Install\n\n```\nsudo make install\n```\n\n## Usage\n\n```\nusage: emmet 'emmet-abbreviation'\n```\n\nFor example\n```\nemmet 'html:5\u003eh1{Hello}+p\u003elorem'\n```\n\nwill return\n```\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n\t\u003cmeta charset=\"UTF-8\"\u003e\n\t\u003cmeta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"\u003e\n\t\u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n\t\u003ctitle\u003eDocument\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\t\u003ch1\u003eHello\u003c/h1\u003e\n\t\u003cp\u003eLorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam repellendus excepturi ullam, deserunt hic nisi facilis? Optio facilis asperiores, suscipit, cupiditate eum neque odio iure earum nisi ut id similique!\u003c/p\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nCheckout [emmet documentation](https://docs.emmet.io/) for more examples.\n\n## Tips\n\nYou can insert `emmet-cli` output to vim with `:read !emmet '…'` and to [vis](https://git.sr.ht/~martanne/vis) with `:\u003c emmet '…'`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsensor%2Femmet-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrsensor%2Femmet-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsensor%2Femmet-cli/lists"}