{"id":43784504,"url":"https://github.com/duplojs/server-utils","last_synced_at":"2026-05-01T22:02:15.445Z","repository":{"id":335132040,"uuid":"1130443433","full_name":"duplojs/server-utils","owner":"duplojs","description":"@duplojs/server-utils is typed as a runtime-independent server helper. It is part of the DuploJS ecosystem.","archived":false,"fork":false,"pushed_at":"2026-04-30T14:13:21.000Z","size":2653,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-30T16:11:28.736Z","etag":null,"topics":["bun","command-line-tool","cross-platform","deno","duplojs","either","env-parser","filesystem","monad","node","typescript"],"latest_commit_sha":null,"homepage":"http://server-utils.duplojs.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duplojs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-08T14:11:44.000Z","updated_at":"2026-04-22T17:51:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/duplojs/server-utils","commit_stats":null,"previous_names":["duplojs/server-utils"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/duplojs/server-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duplojs%2Fserver-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duplojs%2Fserver-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duplojs%2Fserver-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duplojs%2Fserver-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duplojs","download_url":"https://codeload.github.com/duplojs/server-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duplojs%2Fserver-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32514340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","command-line-tool","cross-platform","deno","duplojs","either","env-parser","filesystem","monad","node","typescript"],"created_at":"2026-02-05T19:00:55.935Z","updated_at":"2026-05-01T22:02:15.440Z","avatar_url":"https://github.com/duplojs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @duplojs/server-utils\n[![NPM version](https://img.shields.io/npm/v/@duplojs/server-utils)](https://www.npmjs.com/package/@duplojs/server-utils)\n\nTyped, runtime-agnostic server helpers for file systems, CLI commands, and common system operations in the DuploJS ecosystem.\n\n## Documentation\n\n- https://server-utils.duplojs.dev\n\n## Why\n\n- Consistent APIs across Node.js, Deno, and Bun\n- Explicit result types (Ok/Success/Left) for clear error handling\n- Small, focused utilities you can import individually\n- CLI command builder with typed options and subjects\n- `environmentVariable`: dotenv + dotenv-expand in one typed API, with schema validation\n\n## Install\n\n```bash\nnpm install @duplojs/server-utils@0 @duplojs/utils@1\n```\n\n## What’s inside\n\n- File system utilities: read/write/append, directories, links, copy/move/remove\n- CLI command utilities: `exec`, `create`, and option builders\n- Environment variable utilities\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduplojs%2Fserver-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduplojs%2Fserver-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduplojs%2Fserver-utils/lists"}