{"id":16550955,"url":"https://github.com/adueck/inline-css-cli","last_synced_at":"2026-04-24T23:32:22.749Z","repository":{"id":128769209,"uuid":"183498851","full_name":"adueck/inline-css-cli","owner":"adueck","description":"A CLI wrapper inline css through stdin - stdout","archived":false,"fork":false,"pushed_at":"2019-04-26T06:07:53.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T14:11:25.747Z","etag":null,"topics":["cli","inline-css","node"],"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/adueck.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":"2019-04-25T19:39:30.000Z","updated_at":"2024-08-09T08:39:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"86f814ea-b54c-41ef-a153-98c7e308394d","html_url":"https://github.com/adueck/inline-css-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adueck/inline-css-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adueck%2Finline-css-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adueck%2Finline-css-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adueck%2Finline-css-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adueck%2Finline-css-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adueck","download_url":"https://codeload.github.com/adueck/inline-css-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adueck%2Finline-css-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","inline-css","node"],"created_at":"2024-10-11T19:35:56.759Z","updated_at":"2026-04-24T23:32:22.734Z","avatar_url":"https://github.com/adueck.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inline-css-cli\n\nA simple CLI wrapper for [inline-css](https://www.npmjs.com/package/inline-css). For inlining html through stdin - stdout.\n\nThis is useful if you want to inline files from the command line, or use it programattically in non-JS environments.\n\n### Installation\n\n```\ngit clone https://github.com/adueck/inline-css-cli\ncd inline-css-cli\nnpm install\nnpm link\n```\n\n### Usage\n\n```\n$ echo \"\u003cstyle\u003ep { color: red; }\u003c/style\u003e\u003cp\u003eHello World\u003c/p\u003e\" | inline-css\n```\n\noutput (to stdout)\n\n```\n\u003cp style=\"color: red;\"\u003eHello World\u003c/p\u003e\n```\n\nWant to use this programatically from a different environment but want a faster response? \n\n### Bonus HTTP Server:\n\nYou can also run \n\n```\nnode http-index.js\n```\n\nTo get a http server that will inline the html you send in a http request body.\n\n```\ncurl -d \"\u003cstyle\u003ep{color:red;}\u003c/style\u003e\u003cp\u003eHello World\u003c/p\u003e\" -X POST http://localhost:8081/\n```\n\nResponse:\n```\n\u003cp style=\"color: red;\"\u003eHello World\u003c/p\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadueck%2Finline-css-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadueck%2Finline-css-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadueck%2Finline-css-cli/lists"}