A collection of utilities for TypeScript and JavaScript.
The primary repository lives on tangled.org, which gets synced to github.com.
It is tested against Bun, Deno, and Node.js runtimes. Published on jsr.io (@frytg).
@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
Uses Biome to check the code.
just lintSee Writing documentation for details about writing JSDoc.
This uses @cross/test and sinon to run the tests.
just testFor Node.js and Bun, install dependencies with Nub and run tests:
nub install
nub run testLocally check if everything is ok:
deno publish --dry-runThen 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