{"id":22066573,"url":"https://github.com/reminjp/node-lizard-py","last_synced_at":"2026-04-10T15:38:32.110Z","repository":{"id":42980833,"uuid":"92542222","full_name":"reminjp/node-lizard-py","owner":"reminjp","description":"Lizard on npm.","archived":false,"fork":false,"pushed_at":"2024-11-21T02:50:49.000Z","size":2120,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:30:06.307Z","etag":null,"topics":["lizard","nodejs"],"latest_commit_sha":null,"homepage":"","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/reminjp.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":"2017-05-26T19:28:46.000Z","updated_at":"2024-11-21T02:50:52.000Z","dependencies_parsed_at":"2023-02-03T00:16:26.319Z","dependency_job_id":"22c416e2-7f21-4408-9036-c931090b0c19","html_url":"https://github.com/reminjp/node-lizard-py","commit_stats":null,"previous_names":["rdrgn/lizard-wrapper","rdrgn/node-lizard-py"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reminjp/node-lizard-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reminjp%2Fnode-lizard-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reminjp%2Fnode-lizard-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reminjp%2Fnode-lizard-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reminjp%2Fnode-lizard-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reminjp","download_url":"https://codeload.github.com/reminjp/node-lizard-py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reminjp%2Fnode-lizard-py/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259981467,"owners_count":22941148,"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":["lizard","nodejs"],"created_at":"2024-11-30T19:28:32.439Z","updated_at":"2025-12-30T22:33:06.413Z","avatar_url":"https://github.com/reminjp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lizard on npm\n\n[![Latest NPM release][npm-badge]][npm-badge-url]\n[![Install Size][npm-size-badge]][npm-size-badge-url]\n[![License][license-badge]][license-badge-url]\n\nA Node.js wrapper for [Lizard](https://github.com/terryyin/lizard), a code complexity analyser.\n\n## Requirements\n\n- Node.js\n- Python\n\n## Usage\n\n```\nyarn add lizard-py\n```\n\n### Sample code\n\n```ts\nimport * as lizard from 'lizard-py';\n\nconst result = lizard.analyzeFile('fizzbuzz.cpp');\nconst s = JSON.stringify(result);\nconsole.log(s);\n```\n\nYou can also use source code string instead of file.\n\n```ts\nconst result = lizard.analyzeSourceCode('foo.cpp', 'int foo(){}');\n```\n\n[Sample input and output](./__tests__)\n\n## Licence\n\n[![License][license-badge]][license-badge-url]\n\n[npm-badge]: https://img.shields.io/npm/v/lizard-py.svg\n[npm-badge-url]: https://www.npmjs.com/package/lizard-py\n[npm-size-badge]: https://packagephobia.now.sh/badge?p=lizard-py\n[npm-size-badge-url]: https://packagephobia.now.sh/result?p=lizard-py\n[license-badge]: https://img.shields.io/npm/l/lizard-py.svg\n[license-badge-url]: ./LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freminjp%2Fnode-lizard-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freminjp%2Fnode-lizard-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freminjp%2Fnode-lizard-py/lists"}