๐ฑ Libraries
This is a collection of carefully crafted TypeScript libraries. These try to be minimal, unbloated and convenient.
They honor web standards for maximum compatibility cross-runtimes 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 | |
|
||
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 | |
|
||
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.
๐งโ๐ป Cli utilities
A set of useful CLI scripts are also provided. Please note that these can only be run on deno runtime.
TypeScript code coverage enhancer
Enhance coverage reports generated with deno coverage
by adding syntax highlighting and better styling thanks to matcha.css.
deno run jsr:@libs/bundle/ts/cli/coverage --help
TypeScript package publisher
Publish a TypeScript package to a 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
. Can be used with --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
XHTML formatter
Format HTML and HTML/XML code similarly deno fmt
. Can be used with --check
to validate that HTML/XML code is correctly formatted.
Warning
This formatter is currently experimental and may break your documents (mainly reorder nodes, remove comments, wrongly self-close tag in HTML, etc.). It requires --unstable
flag to be run without --check
flag.
deno run jsr:@libs/bundle/xhtml/cli/fmt --help
Web assembly builder
Compile a rust project to Web assembly and minify output.
deno run jsr:@libs/bundle/wasm/cli/build --help
๐ License
This work is licensed under the MIT License.
If you include a significant part of it in your own project, you should keep the license notice with it, including the mention of the additional original authors if any.
Important
Love these bytes ? Consider ๐ sponsoring me
, even one-time contributions are greatly appreciated !