{"id":19437837,"url":"https://github.com/architect/package","last_synced_at":"2025-10-28T12:39:37.461Z","repository":{"id":35027217,"uuid":"189085041","full_name":"architect/package","owner":"architect","description":"Package .arc apps for deployment with Cloudformation","archived":false,"fork":false,"pushed_at":"2024-06-19T14:17:22.000Z","size":696,"stargazers_count":5,"open_issues_count":1,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-29T00:42:57.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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":"changelog.md","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":"2019-05-28T18:49:17.000Z","updated_at":"2024-09-29T23:54:32.000Z","dependencies_parsed_at":"2023-12-08T17:27:37.408Z","dependency_job_id":"d2135109-b42a-4a25-a14b-8d406a9adf55","html_url":"https://github.com/architect/package","commit_stats":{"total_commits":465,"total_committers":10,"mean_commits":46.5,"dds":0.4473118279569892,"last_synced_commit":"e3092ce3f50d6ff3494da2bf3d5d1859e3c68eb3"},"previous_names":[],"tags_count":172,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Fpackage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Fpackage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Fpackage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Fpackage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/architect","download_url":"https://codeload.github.com/architect/package/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223968120,"owners_count":17233445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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:01.815Z","updated_at":"2025-10-28T12:39:32.428Z","avatar_url":"https://github.com/architect.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@architect/package` [![GitHub CI status](https://github.com/architect/package/workflows/Node%20CI/badge.svg)](https://github.com/architect/package/actions?query=workflow%3A%22Node+CI%22)\n\u003c!-- [![codecov](https://codecov.io/gh/architect/package/branch/master/graph/badge.svg)](https://codecov.io/gh/architect/package) --\u003e\n\n[@architect/package][npm] packages @architect projects as [`AWS::Serverless`][sam]-compatible JSON. Converts Architect projects into a [AWS Serverless Application Model (SAM)][sam]-compatible format.\n\n## Install\n\n    npm i @architect/package\n\n## API\n\nAll of this module's methods take as input an [@architect/inventory][inventory]-parsed Architect project.\n\n### pkg(arc)\n\n## Example Usage\n\n```javascript\nlet inventory = require('@architect/inventory')\nlet pkg = require('@architect/package')\n\n// fake out an .arc file as a string\nlet arcString = `\n@app\nmybasicapp\n\n@http\nget /\n`\n\n// export as sam\nlet inv = await inventory({ rawArc: arcString, deployStage: 'staging' })\nlet sam = pkg(inv)\nconsole.log(sam)\n```\n\n[npm]: https://www.npmjs.com/package/@architect/package\n[inventory]: https://www.npmjs.com/package/@architect/inventory\n[sam]: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchitect%2Fpackage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchitect%2Fpackage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchitect%2Fpackage/lists"}