{"id":19437969,"url":"https://github.com/architect/functions-deno","last_synced_at":"2026-03-01T11:31:56.111Z","repository":{"id":87188447,"uuid":"371498329","full_name":"architect/functions-deno","owner":"architect","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-31T19:25:36.000Z","size":1655,"stargazers_count":5,"open_issues_count":5,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-14T18:59:42.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/architect.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":".github/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":".github/code_of_conduct.md","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}},"created_at":"2021-05-27T20:38:30.000Z","updated_at":"2024-09-30T23:39:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3ec90ae-4b77-46f4-87b0-f9c5d87af227","html_url":"https://github.com/architect/functions-deno","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/architect/functions-deno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Ffunctions-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Ffunctions-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Ffunctions-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Ffunctions-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/architect","download_url":"https://codeload.github.com/architect/functions-deno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Ffunctions-deno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29968466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T10:55:55.490Z","status":"ssl_error","status_checked_at":"2026-03-01T10:55:55.175Z","response_time":124,"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":[],"created_at":"2024-11-10T15:16:24.617Z","updated_at":"2026-03-01T11:31:56.093Z","avatar_url":"https://github.com/architect.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[\u003cimg src=\"https://s3-us-west-2.amazonaws.com/arc.codes/architect-logo-500b@2x.png\" width=500\u003e](https://www.npmjs.com/package/@architect/functions)\n\n## Deno @architect-functions\n\n\u003e Runtime helper library for serverless apps built with [Architect][Deno]\n\n## Example\n\n# Http async\n\n```javascript\nimport arc from 'https://raw.githubusercontent.com/architect/functions-deno/main/src/index.js'\n\nexport const handler = arc.http.async( (event: Record\u003cstring, unknown\u003e) =\u003e {\n    console.log(JSON.stringify(event, null, 2));\n\n    return {\n        location: \"/\"\n    }\n});\n\n```\n# Auth\n- I've updated the arc-example-login-flow example to the Deno runtime \nhttps://github.com/hicksy/deno-arc-example-login-flow\n\n\n# Test\n\nIntegration only:\n`deno test --allow-run --allow-read --allow-env --allow-write --allow-net --unstable ./test/integration`\n\nUnit only:\n`deno test --allow-run --allow-read --allow-env --allow-write --allow-net --unstable ./test/unit`\n\n\n# Notes\n\n- `Deno.run` use to launch a sub process of `arc sandbox` within the mock path - not possible to directly call sandbox through JS \n\n- Having to use `sanitizeResources: false,sanitizeOps: false` on `Deno.test` quite a bit - does this suggest a problem in the codebase / the tests / or is this safe?\n\n## Todo\n- unexpress (src/https/express)\n- JWE - *_Session tokens incompatible with node/ruby/python_* - currently there's no availaility of a library that uses the A128GCM algorithm. Possible that if [webcrypto APIs are implemented in Deno](https://github.com/denoland/deno/issues/1891) then [jose](https://github.com/panva/jose) would be available. \n- no zlib. `compress.js` uses `gzipDecode/ gzipEncode`, `deflate/inflate` and `compress/decompress` (brotli) instead\n\nTest with suffix `.test-fail.js` are skipped, we need to refactor based on:\n- No `mockfs` equivalant and can't use Skypack / jspm,\n- No `proxyquire`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchitect%2Ffunctions-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchitect%2Ffunctions-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchitect%2Ffunctions-deno/lists"}