Registry / http-networking / ts-mini-transpiler-html

ts-mini-transpiler-html

JSON →
library0.0.1jsnpmunverified

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.

npm install ts-mini-transpiler-html
INSTALL
IMPORT
SIG · TS-MINI-TRANSPILER
T
ts-mini-transpiler-html
http-networkingjavascriptv0.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

transpileHtml
import { transpileHtml } from 'ts-mini-transpiler-html'
Requires ESM; CJS not supported in this early version.
defaultImport
import transpileHtml from 'ts-mini-transpiler-html'
const transpileHtml = require('ts-mini-transpiler-html')
Package provides both named and default exports.
Type definitions
import type { TranspileOptions } from 'ts-mini-transpiler-html'
Type imports available for TypeScript users.

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);
Debug
Known issues
breakingPackage is v0.0.1, API may change without notice.
fix
Pin to exact version and expect breaking changes.
affects: 0.0.1
Errors
Common errors & fixes
Cannot find module 'ts-mini-transpiler-html'
Package not installed or not in node_modules.
fix
Run `npm install ts-mini-transpiler-html`.
Upgrade
Version history
0.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
ts-mini-transpiler-html — npm install ts-mini-transpiler-html · libregistry