{"id":13394061,"url":"https://github.com/itwillwork/ostap","last_synced_at":"2025-04-13T09:32:14.949Z","repository":{"id":57316649,"uuid":"177202391","full_name":"itwillwork/ostap","owner":"itwillwork","description":"CLI tool that fast checks if your bundle contains multiple versions of the same package, only by looking in package.json.","archived":false,"fork":false,"pushed_at":"2020-07-16T21:15:15.000Z","size":653,"stargazers_count":115,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-16T17:04:14.249Z","etag":null,"topics":["bundle","cli-app","duplicate-detection","frontend","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itwillwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-22T20:04:32.000Z","updated_at":"2024-04-18T08:43:01.000Z","dependencies_parsed_at":"2022-08-25T21:11:03.321Z","dependency_job_id":null,"html_url":"https://github.com/itwillwork/ostap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itwillwork%2Fostap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itwillwork%2Fostap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itwillwork%2Fostap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itwillwork%2Fostap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itwillwork","download_url":"https://codeload.github.com/itwillwork/ostap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248690881,"owners_count":21146224,"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":["bundle","cli-app","duplicate-detection","frontend","webpack"],"created_at":"2024-07-30T17:01:07.611Z","updated_at":"2025-04-13T09:32:14.368Z","avatar_url":"https://github.com/itwillwork.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# ostap\n\nCLI tool that fast checks if your bundle contains multiple versions of the same package, only by looking in package.json.\n\nAdvantages:\n\n* faster than alternatives, since it doesn't require rebuilding the bundle (example, [duplicate-package-checker-webpack-plugin](https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin));\n\n* uses only package.json;\n\n* suggests optimal package versions; [see how](#for-suggests-optimal-package-versions)\n\n* you can quickly see all the current versions of the same package that are used in the current bundle. [see how](#for-see-all-the-current-versions-of-the-same-package-that-are-used-in-the-current-bundle)\n\n## Quick start\n```\n# create package.json if not exists\necho \"{\\\"name\\\":\\\"demo-project\\\",\\\"version\\\":\\\"1.0.0\\\",\\\"dependencies\\\":{\\\"@nivo/bar\\\":\\\"0.54.0\\\",\\\"@nivo/core\\\":\\\"0.53.0\\\",\\\"@nivo/pie\\\":\\\"0.54.0\\\",\\\"@nivo/stream\\\":\\\"0.54.0\\\"}}\" \u003e ./package.json\n\nnpx ostap ./package.json -s\n```\n\n## How to use\n\nFor example, you have `package.json`:\n```\n{\n  \"name\": \"demo-project\",\n  \"version\": \"1.0.0\",\n  \"dependencies\": {\n    \"@nivo/bar\": \"0.54.0\",\n    \"@nivo/core\": \"0.53.0\",\n    \"@nivo/pie\": \"0.54.0\",\n    \"@nivo/stream\": \"0.54.0\"\n  }\n}\n```\n### For suggests optimal package versions\n\n```\nostap ./package.json\n```\n\u003cimg src=\"https://github.com/itwillwork/ostap/blob/master/media/demo5.png?raw=true\" width=\"650px\" /\u003e\n\n### For see all the current versions of the same package that are used in the current bundle\n\n```\nostap ./package.json -s\n```\n\u003cimg src=\"https://github.com/itwillwork/ostap/blob/master/media/demo7.png?raw=true\" width=\"650px\" /\u003e\n\n### Installation\n```\nnpm i -g ostap\n```\n### Options\n```\nOptions:\n  -c, --use-cache                Use cache \n  -d, --duplicates               Show duplicates in source and optimal tree \n  -s, --source-tree-duplicates   Show duplicates in source tree \n  -o, --optimal-tree-duplicates  Show duplicates in optimal tree \n  -v, --version                  Display version number \n  -h, --help                     Display help \n```\n## Contributing\nGot ideas on how to make this better? Open an issue!\n\n## License\nMIT\n\n## Who is Ostap? \nOstap Bender is a fictional man who appeared in the novels The Twelve Chairs and The Little Golden Calf written by Soviet authors Ilya Ilf and Yevgeni Petrov. His description as \"The Great Combinator\" became a catch phrase in the Russian language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitwillwork%2Fostap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitwillwork%2Fostap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitwillwork%2Fostap/lists"}