ts-mini-transpiler-html

raw JSON →
0.0.1 verified Fri May 01 auth: no javascript

ts-mini-transpiler-html is an HTML transpiler for the ts-mini ecosystem, designed to convert HTML files into TypeScript-compatible modules. Version 0.0.1 is an initial release with no active maintenance commitment. It serves as a specialized tool within the ts-mini build pipeline, focusing on HTML transformation for TypeScript projects. Differentiators include tight integration with ts-mini and minimal overhead for HTML transpilation.

error Cannot find module 'ts-mini-transpiler-html'
cause Package not installed or not in node_modules.
fix
Run npm install ts-mini-transpiler-html.
breaking Package is v0.0.1, API may change without notice.
fix Pin to exact version and expect breaking changes.
npm install ts-mini-transpiler-html
yarn add ts-mini-transpiler-html
pnpm add ts-mini-transpiler-html

Basic usage showing how to transpile an HTML string using the package.

import { transpileHtml } from 'ts-mini-transpiler-html';

const html = '<div>Hello World</div>';
const result = transpileHtml(html);
console.log(result);