You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a collection of carefully crafted TypeScript libraries.
They try to be as minimal, unbloated and convenient as possible.
They honor web standards for maximum compatibility cross-runtime, which makes most of them compatible with Deno, Node.js,
Bun and even browsers out of the box.
See table below for a list of available libraries and their features, compatibility, test coverage and playgrounds.
Straightforward API for both basic markdown and extended markdown rendering
Offer a dozen of plugins to add extended markdown features (headings anchors, frontmatter, code highlighting, math, mermaid diagrams, wiki links, etc.)
Support cleaning options to remove attributes, comments, XML doctype and processing instructions from output
Support flatten options to flatten node content when only attributes, text or nothing is present
Support reviving options to trim text, replace XML entities, revive booleans and numbers
Also support custom reviving function
Stringify JavaScript object to XML
Support formatting options to configure indentation and text break lines
Support replacing options to replace XML entities
Also support custom replacing function
Each package is versioned independently.
Releases are fully automated and are published on every push to the main branch.
Versioning follows SemVer rules.
🧑💻 CLI Utilities
We also provide a set of useful CLI scripts.
Warning
Please note that these only run on the Deno runtime.
TypeScript code coverage enhancer
Enhance coverage reports generated with deno coverage by adding syntax highlighting and better styling using matcha.css.
deno run jsr:@libs/bundle/ts/cli/coverage --help
TypeScript package publisher
Publish a TypeScript package to an npm registry (transpilation to JavaScript and conversion from deno.jsonc to package.json will automatically be performed) or to deno.land/x (webhooks must be configured beforehand).
deno run jsr:@libs/bundle/ts/cli/publish --help
CSS formatter
Format CSS code similarly to prettier or deno fmt.
Use --check to validate that CSS code is correctly formatted.
deno run jsr:@libs/bundle/css/cli/fmt --help
CSS features compatibility checker
Print compatibility report for CSS features against MDN data for selected browsers.
deno run jsr:@libs/bundle/css/cli/check --help
Web assembly builder
Compile a Rust project to Web assembly and minify output.
If you include a significant part of it in your own project, you must keep the license notice with it, including the mention of the additional original authors if any.
Tip
Love these bytes? Consider 💝 sponsoring me, even one-time contributions are greatly appreciated!