A collection of utilities for TypeScript and JavaScript.
This repository is work in progress.
@frytg/check-required-env
- Check a required environment variable@frytg/crypto
- Crypto utilities (hash, hmac, etc.)@frytg/dates
- Date utilities around Luxon@frytg/logger
- Pre-configuredWinston logging wrapper
Planned for this utility package:
hashes
- sha256, sha512, etc.
Other tools that I regularly use and don't feel the need to optimize or re-create in this utility package:
axios
- Promise based HTTP client for the browser and node.jshono
- small, simple, and ultrafast web framework built on Web Standardsundici
- performant HTTP/1.1 client for Node.js
Use deno fmt
, deno lint
and biome lint
to check the code.
deno task check
See Writing documentation for details about writing JSDoc.
This uses @cross/test
and sinon
to run the tests.
deno task test
Locally check if everything is ok:
deno publish --dry-run
Then once everything is pushed or merged on main
, run the GitHub actions workflow to publish the packages to JSR
(see publishing packages for more details).
Created by @frytg / frytg.digital
Unlicense - also see unlicense.org