{"library":"inline-source-cli","type":"library","category":null,"description":"The `inline-source-cli` package offers a dedicated command-line interface (CLI) for the `inline-source` library, a utility designed to embed external resources such as CSS stylesheets, JavaScript code, and image data directly into an HTML file. This functionality is crucial for scenarios requiring self-contained HTML documents, such as preparing email templates, optimizing static site assets for single-file deployment, or creating portable web components. The package is currently at stable version 2.0.0, with a release cadence that appears driven by dependency updates or minor feature enhancements like the addition of stdin support. Its primary advantage lies in providing a straightforward, opinionated command-line tool that abstracts away the programmatic complexity of resource inlining, making it easy to integrate into existing build scripts and CI/CD pipelines without writing custom JavaScript code. Developers can quickly achieve asset optimization and delivery benefits without deep diving into the underlying library's API, using standard shell commands.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","inline","source","cli","inliner"],"last_verified":"Wed May 27","install":[{"cmd":"npm install inline-source-cli","imports":["import { spawn } from 'child_process';\nspawn('inline-source', ['--root', './', 'file.html'], { stdio: 'inherit' });","import { execa } from 'execa';\nawait execa('inline-source', ['--root', './', 'file.html']);","/* This CLI package does not export types for programmatic use. */"]},{"cmd":"yarn add inline-source-cli","imports":[]},{"cmd":"pnpm add inline-source-cli","imports":[]}],"homepage":null,"github":"https://github.com/popeindustries/inline-source-cli","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/inline-source-cli","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/inline-source-cli/compatibility"}}