{"id":19809495,"url":"https://github.com/space-code/lazy","last_synced_at":"2025-02-28T12:45:01.384Z","repository":{"id":208292609,"uuid":"714909136","full_name":"space-code/lazy","owner":"space-code","description":"Lazy is a small, handy tool for lazily initializing a value","archived":false,"fork":false,"pushed_at":"2024-12-25T13:58:03.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T10:21:43.295Z","etag":null,"topics":["lazy","lazy-init","lazy-initialization","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/space-code.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-11-06T05:02:00.000Z","updated_at":"2024-12-25T13:57:49.000Z","dependencies_parsed_at":"2025-01-11T06:53:27.791Z","dependency_job_id":null,"html_url":"https://github.com/space-code/lazy","commit_stats":null,"previous_names":["space-code/lazy"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Flazy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Flazy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Flazy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Flazy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/space-code","download_url":"https://codeload.github.com/space-code/lazy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241152734,"owners_count":19918673,"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":["lazy","lazy-init","lazy-initialization","swift"],"created_at":"2024-11-12T09:17:11.969Z","updated_at":"2025-02-28T12:45:01.364Z","avatar_url":"https://github.com/space-code.png","language":"Swift","readme":"\u003ch1 align=\"center\" style=\"margin-top: 0px;\"\u003elazy\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/space-code/lazy/blob/main/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/space-code/lazy?style=flat\"\u003e\u003c/a\u003e \n\u003ca href=\"https://swiftpackageindex.com/space-code/lazy\"\u003e\u003cimg alt=\"Swift Compatibility\" src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fspace-code%2Flazy%2Fbadge%3Ftype%3Dswift-versions\"/\u003e\u003c/a\u003e \n\u003ca href=\"https://swiftpackageindex.com/space-code/lazy\"\u003e\u003cimg alt=\"Platform Compatibility\" src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fspace-code%2Flazy%2Fbadge%3Ftype%3Dplatforms\"/\u003e\u003c/a\u003e \n\u003ca href=\"https://github.com/space-code/lazy\"\u003e\u003cimg alt=\"CI\" src=\"https://github.com/space-code/Lazy/actions/workflows/ci.yml/badge.svg?branch=main\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/space-code/lazy\"\u003e\u003cimg src=\"https://codecov.io/gh/space-code/lazy/graph/badge.svg?token=XyRCZMlYWg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Description\n`Lazy` is a small, handy tool for lazily initializing a value.\n\n- [Usage](#usage)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Communication](#communication)\n- [Contributing](#contributing)\n- [Author](#author)\n- [License](#license)\n\n## Usage\n\n```swift\nimport Lazy\n\nlet objectLazy = Lazy {\n    // Create an instance here ...\n}\n\n// Initialize the object\nlet object = objectLazy.value\n```\n\n## Requirements\n- iOS 11.0+ / macOS 10.13+ / tvOS 11.0+ / watchOS 4.0+ / visionOS 1.0+\n- Xcode 14.0\n- Swift 5.7\n\n## Installation\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but `lazy` does support its use on supported platforms.\n\nOnce you have your Swift package set up, adding `lazy` as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/space-code/lazy.git\", .upToNextMajor(from: \"1.0.0\"))\n]\n```\n\n## Communication\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Contributing\nBootstrapping development environment\n\n```\nmake bootstrap\n```\n\nPlease feel free to help out with this project! If you see something that could be made better or want a new feature, open up an issue or send a Pull Request!\n\n## Author\nNikita Vasilev, nv3212@gmail.com\n\n## License\nlazy is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-code%2Flazy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspace-code%2Flazy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-code%2Flazy/lists"}