{"id":21412598,"url":"https://github.com/frytg/utility","last_synced_at":"2026-04-13T08:32:46.314Z","repository":{"id":264142731,"uuid":"889632641","full_name":"frytg/utility","owner":"frytg","description":"A collection of utilities for TypeScript and JavaScript.","archived":false,"fork":false,"pushed_at":"2025-05-05T05:56:29.000Z","size":138,"stargazers_count":2,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T06:35:17.299Z","etag":null,"topics":["bun","deno","jsr","logger","nodejs"],"latest_commit_sha":null,"homepage":"https://jsr.io/@frytg","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frytg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-16T20:23:59.000Z","updated_at":"2025-05-05T05:56:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"28dd2ea4-c41a-4655-8b32-c2ad010aa08a","html_url":"https://github.com/frytg/utility","commit_stats":null,"previous_names":["frytg/js-utils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frytg/utility","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frytg%2Futility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frytg%2Futility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frytg%2Futility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frytg%2Futility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frytg","download_url":"https://codeload.github.com/frytg/utility/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frytg%2Futility/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","deno","jsr","logger","nodejs"],"created_at":"2024-11-22T18:11:44.031Z","updated_at":"2026-04-13T08:32:46.298Z","avatar_url":"https://github.com/frytg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utility packages\n\n[![JSR @frytg](https://jsr.io/badges/@frytg)](https://jsr.io/@frytg)\n[![ci](https://github.com/frytg/utility/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/frytg/utility/actions/workflows/test.yml)\n[![Linted with Biome](https://img.shields.io/badge/Linted_with-Biome-60a5fa?style=flat\u0026logo=biome)](https://biomejs.dev)\n\nA collection of utilities for TypeScript and JavaScript.\n\nThis repository is work in progress.\n\nIt is tested against Bun, Deno, and Node.js runtimes. Published on [jsr.io (`@frytg`)](https://jsr.io/@frytg).\n\n## Tools\n\n- [`@frytg/check-required-env`](./check-required-env/README.md) - Check a required environment variable\n- [`@frytg/crypto`](./crypto/README.md) - Crypto utilities (hash, hmac, etc.)\n- [`@frytg/dates`](./dates/README.md) - Date utilities around Luxon\n- [`@frytg/logger`](./logger/README.md) - Pre-configuredWinston logging wrapper\n\n## More Tooling\n\nPlanned for this utility package:\n\n- `hashes` - sha256, sha512, etc.\n\nOther tools that I regularly use and don't feel the need to optimize or re-create in this utility package:\n\n- [`axios`](https://github.com/axios/axios) - _Promise based HTTP client for the browser and node.js_\n- [`hono`](https://jsr.io/@hono/hono) - _small, simple, and ultrafast web framework built on Web Standards_\n- [`undici`](https://github.com/nodejs/undici) - _performant HTTP/1.1 client for Node.js_\n- [`@upstash/redis`](https://github.com/upstash/redis-js) for HTTP redis and [`redis`](https://github.com/redis/node-redis) for TCP\n- [`tailwindcss`](https://tailwindcss.com/docs/installation) - _CSS framework for rapid UI development_\n- [`@turf/turf`](https://github.com/Turfjs/turf) _for anything geospatial_\n\n## Lint\n\nUse `deno fmt`, `deno lint` and `biome lint` to check the code.\n\n```bash\ndeno task check\n```\n\nSee [_Writing documentation_](https://jsr.io/docs/writing-docs) for details about writing JSDoc.\n\n## Testing\n\nThis uses [`@cross/test`](https://jsr.io/@cross/test) and [`sinon`](https://sinonjs.org) to run the tests.\n\n```bash\ndeno task test\n```\n\n## Publish\n\nLocally check if everything is ok:\n\n```bash\ndeno publish --dry-run\n```\n\nThen once everything is pushed or merged on `main`, run the GitHub actions workflow to publish the packages to JSR\n(see [_publishing packages_](https://jsr.io/docs/publishing-packages) for more details).\n\n## Author\n\nCreated by [@frytg](https://github.com/frytg) / [frytg.digital](https://www.frytg.digital)\n\n## License\n\n[Unlicense](./LICENSE) - also see [unlicense.org](https://unlicense.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrytg%2Futility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrytg%2Futility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrytg%2Futility/lists"}