{"id":13433038,"url":"https://github.com/swan-io/boxed","last_synced_at":"2025-03-17T10:33:16.169Z","repository":{"id":37775989,"uuid":"471739015","full_name":"swan-io/boxed","owner":"swan-io","description":"Utility types for functional TypeScript","archived":false,"fork":false,"pushed_at":"2024-03-27T13:25:40.000Z","size":38557,"stargazers_count":606,"open_issues_count":3,"forks_count":16,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-14T15:57:27.143Z","etag":null,"topics":["adt","fp","functional","future","option","result","typescript"],"latest_commit_sha":null,"homepage":"https://swan-io.github.io/boxed","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swan-io.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"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}},"created_at":"2022-03-19T15:42:21.000Z","updated_at":"2024-04-20T08:37:11.628Z","dependencies_parsed_at":"2024-03-27T14:49:38.359Z","dependency_job_id":null,"html_url":"https://github.com/swan-io/boxed","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swan-io%2Fboxed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swan-io%2Fboxed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swan-io%2Fboxed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swan-io%2Fboxed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swan-io","download_url":"https://codeload.github.com/swan-io/boxed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221675291,"owners_count":16861860,"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":["adt","fp","functional","future","option","result","typescript"],"created_at":"2024-07-31T02:01:20.137Z","updated_at":"2025-03-17T10:33:16.158Z","avatar_url":"https://github.com/swan-io.png","language":"TypeScript","readme":"\u003cimg width=\"108\" alt=\"@swan-io/boxed logo\" src=\"https://github.com/swan-io/boxed/blob/main/docs/static/img/logo.svg?raw=true\"\u003e\n\n# @swan-io/boxed\n\n[![mit licence](https://img.shields.io/dub/l/vibe-d.svg?style=for-the-badge)](https://github.com/swan-io/boxed/blob/main/LICENSE)\n[![npm version](https://img.shields.io/npm/v/@swan-io/boxed?style=for-the-badge)](https://www.npmjs.org/package/@swan-io/boxed)\n[![bundlephobia](https://img.shields.io/bundlephobia/minzip/@swan-io/boxed?label=size\u0026style=for-the-badge)](https://bundlephobia.com/result?p=@swan-io/boxed)\n\n\u003e Essential building-blocks for functional \u0026 safe TypeScript code\n\n**Boxed** provides essential building-blocks (in the form of types and functions) so that you can write functional, safe TypeScript code.\n\n## Design principles\n\n- Provide utility types that **make data-manipulation and storage easier**\n- **Immutable** (all provided types are)\n- Give a **good development experience** (chaining API, reliable types)\n- Simple **interoperability** (you can convert back and forth to JS native types)\n- Compatibility with `ts-pattern` (using `patterns` we provide).\n\n## What's in the box?\n\n- `Option\u003cValue\u003e`\n- `Result\u003cOk, Error\u003e`\n- `Future\u003cValue\u003e`\n- `AsyncData\u003cValue\u003e`\n- `Lazy\u003cValue\u003e`\n- Some utils like `Deferred`, `Dict` \u0026 `Array`\n\n## Installation\n\n```bash\n$ yarn add @swan-io/boxed\n# --- or ---\n$ npm install --save @swan-io/boxed\n```\n\n## Links\n\n- 📘 [**Documentation**](https://boxed.cool)\n- ⚖️ [**License**](./LICENSE)\n","funding_links":[],"categories":["TypeScript","typescript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswan-io%2Fboxed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswan-io%2Fboxed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswan-io%2Fboxed/lists"}