Skip to content
/ utility Public

A collection of utilities for TypeScript and JavaScript.

License

Notifications You must be signed in to change notification settings

frytg/utility

Repository files navigation

Utility packages

JSR @frytg ci Linted with Biome

A collection of utilities for TypeScript and JavaScript.

This repository is work in progress.

It is tested against Bun, Deno, and Node.js runtimes. Published on jsr.io (@frytg).

Tools

More Tooling

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.js
  • hono - small, simple, and ultrafast web framework built on Web Standards
  • undici - performant HTTP/1.1 client for Node.js
  • @upstash/redis for HTTP redis and redis for TCP
  • tailwindcss - CSS framework for rapid UI development
  • @turf/turf for anything geospatial

Lint

Use deno fmt, deno lint and biome lint to check the code.

deno task check

See Writing documentation for details about writing JSDoc.

Testing

This uses @cross/test and sinon to run the tests.

deno task test

Publish

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).

Author

Created by @frytg / frytg.digital

License

Unlicense - also see unlicense.org

About

A collection of utilities for TypeScript and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published