{"id":15062436,"url":"https://github.com/zaczero/yarnlock","last_synced_at":"2026-01-28T06:41:54.078Z","repository":{"id":257004947,"uuid":"856854178","full_name":"Zaczero/yarnlock","owner":"Zaczero","description":"yarn.lock file parser","archived":false,"fork":false,"pushed_at":"2024-10-26T01:44:41.000Z","size":117,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T05:51:28.697Z","etag":null,"topics":["lock","parser","yarn"],"latest_commit_sha":null,"homepage":"https://pypi.org/p/yarnlock","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zaczero.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-09-13T10:32:26.000Z","updated_at":"2024-10-29T20:47:26.000Z","dependencies_parsed_at":"2024-09-14T09:27:21.192Z","dependency_job_id":"69f7ee64-0d1b-411c-8203-a32380d85109","html_url":"https://github.com/Zaczero/yarnlock","commit_stats":null,"previous_names":["zaczero/yarnlock"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Fyarnlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Fyarnlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Fyarnlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Fyarnlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zaczero","download_url":"https://codeload.github.com/Zaczero/yarnlock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225652,"owners_count":21068078,"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":["lock","parser","yarn"],"created_at":"2024-09-24T23:36:08.540Z","updated_at":"2026-01-28T06:41:54.051Z","avatar_url":"https://github.com/Zaczero.png","language":"Rust","readme":"# yarnlock\n\n[![PyPI - Python Version](https://shields.monicz.dev/pypi/pyversions/yarnlock)](https://pypi.org/project/yarnlock)\n[![Liberapay Patrons](https://shields.monicz.dev/liberapay/patrons/Zaczero?logo=liberapay\u0026label=Patrons)](https://liberapay.com/Zaczero/)\n[![GitHub Sponsors](https://shields.monicz.dev/github/sponsors/Zaczero?logo=github\u0026label=Sponsors\u0026color=%23db61a2)](https://github.com/sponsors/Zaczero)\n\nQuickly parse yarn dependencies information into a Python dictionary. The output is typed using a TypedDict class, making it more convenient to work with.\n\n## Installation\n\nThe recommended installation method is through the PyPI package manager. The project is implemented in Rust and several pre-built binary wheels are available for Linux, macOS, and Windows, with support for both x64 and ARM architectures.\n\n```sh\npip install yarnlock\n```\n\n## Basic usage\n\n```py\nfrom pathlib import Path\nfrom yarnlock import yarnlock_parse\n\nyarnlock_parse(Path('yarn.lock').read_text())\n# -\u003e\n# {\n#     '@babel/cli': {\n#         'matches': ['^7.24.8'],\n#         'dependencies': {\n#             'glob': '^7.2.0',\n#             'slash': '^2.0.0',\n#             'make-dir': '^2.1.0',\n#             'commander': '^6.2.0',\n#             'convert-source-map': '^2.0.0',\n#             'fs-readdir-recursive': '^1.1.0',\n#             '@jridgewell/trace-mapping': '^0.3.25',\n#         },\n#         'optionalDependencies': {\n#             'chokidar': '^3.4.0',\n#             '@nicolo-ribaudo/chokidar-2': '2.1.8-no-fsevents.3',\n#         },\n#         'version': '7.24.8',\n#         'resolved': 'https://registry.npmjs.org/@babel/cli/-/cli-7.24.8.tgz',\n#         'integrity': 'sha512-isdp+G6DpRyKc+3Gqxy2rjzgF7Zj9K0mzLNnxz+E/fgeag8qT3vVulX4gY9dGO1q0y+0lUv6V3a+uhUzMzrwXg==',\n#     },\n#     ...\n# }\n```\n","funding_links":["https://liberapay.com/Zaczero/","https://github.com/sponsors/Zaczero"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaczero%2Fyarnlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaczero%2Fyarnlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaczero%2Fyarnlock/lists"}