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.
Code bundlers, formatters, minifiers and others tools. | ||
---|---|---|
Metadata and compatibility | Features | |
|
||
Features based upon Web Crypto APIs | ||
Metadata and compatibility | Features | |
|
||
Diff (patience algorithm) | ||
Metadata and compatibility | Features | |
|
||
Virtual DOM for unit testing and server side rendering. | ||
Metadata and compatibility | Features | |
|
||
Simple logger | ||
Metadata and compatibility | Features | |
|
||
Object-relational mapping toolbox. | ||
Metadata and compatibility | Features | |
|
||
Pure TypeScript QRcode generator with no dependencies. | ||
Metadata and compatibility | Features | |
|
||
Reactive utilities for observable objects. | ||
Metadata and compatibility | Features | |
|
||
Utilities to run subprocess. | ||
Metadata and compatibility | Features | |
|
||
All-in-one mirror of Deno's Standard Library. | ||
Metadata and compatibility | Features | |
|
||
Testing utilities for cross-platform testing on Deno, Node.js and Bun. | ||
Metadata and compatibility | Features | |
Utility types. | ||
Metadata and compatibility | Features | |
|
||
XML parser/stringifier with no dependencies. | ||
Metadata and compatibility | Features | |
|
||
Each package is versioned independently. Releases are fully automated and are published on every push to the
main
branch. Versioning follows SemVer rules.
We also provide a set of useful CLI scripts.
Warning
Please note that these only run on the Deno runtime.
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
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
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
Print compatibility report for CSS features against MDN data for selected browsers.
deno run jsr:@libs/bundle/css/cli/check --help
Format HTML and HTML/XML code similarly deno fmt
.
Use --check
to validate that HTML/XML code is correctly formatted.
This formatter is currently experimental and may break your documents (by reordering nodes, removing comments, wrongly self-closing tags in HTML, etc.). It requires
--unstable
flag to write changes; that is, to run without--check
flag.
deno run jsr:@libs/bundle/xhtml/cli/fmt --help
Compile a Rust project to Web assembly and minify output.
deno run jsr:@libs/bundle/wasm/cli/build --help
Contributions are welcome! Please read our contribution guide first.
This work is licensed under the MIT License.
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!