{"id":21108953,"url":"https://github.com/pajaydev/lasso-analyzer","last_synced_at":"2025-07-08T16:32:28.774Z","repository":{"id":51700445,"uuid":"140921608","full_name":"pajaydev/lasso-analyzer","owner":"pajaydev","description":" 📊 Analyzing bundles created by Lasso js.","archived":false,"fork":false,"pushed_at":"2021-05-10T17:06:16.000Z","size":503,"stargazers_count":4,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-19T05:36:25.239Z","etag":null,"topics":["bundle-analyzer","lasso","lasso-bundle-analyzer","lasso-marko","lasso-plugin"],"latest_commit_sha":null,"homepage":"https://pajaydev.github.io/lasso-analyzer/","language":"JavaScript","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/pajaydev.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}},"created_at":"2018-07-14T06:21:08.000Z","updated_at":"2023-03-04T05:22:45.000Z","dependencies_parsed_at":"2022-08-22T07:10:27.965Z","dependency_job_id":null,"html_url":"https://github.com/pajaydev/lasso-analyzer","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Flasso-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Flasso-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Flasso-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pajaydev%2Flasso-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pajaydev","download_url":"https://codeload.github.com/pajaydev/lasso-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225449587,"owners_count":17476095,"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-analyzer","lasso","lasso-bundle-analyzer","lasso-marko","lasso-plugin"],"created_at":"2024-11-20T00:49:42.840Z","updated_at":"2024-11-20T00:49:43.506Z","avatar_url":"https://github.com/pajaydev.png","language":"JavaScript","readme":"# lasso-analyzer\n\n[![npm version](https://badge.fury.io/js/lasso-analyzer.svg)](https://badge.fury.io/js/lasso-analyzer)\n[![Build Status](https://travis-ci.org/pajaydev/lasso-analyzer.svg?branch=master)](https://travis-ci.org/pajaydev/lasso-analyzer)\n\nLasso-analyzer is a tool for analyzing project bundles created by Lasso. We can easily catch the large and/or duplicate modules which might be either bloating up\nyour bundle.\n\nThis package uses [treemap](#https://github.com/evmar/webtreemap) for visualiztion.\n## Installation ##\n\n``` bash\nnpm install -g lasso-analyzer\n```\n## Usage as plugin ##\n\n```js\nrequire('lasso').configure({\n    ...\n    plugins: [\n        'lasso-analyzer',\n        ...\n    ]\n});\n```\n\n## Usage as CLI ##\n\n1. Bundled file is created under \"build/static/\" folder. Run the CLI as shown below\n\n```bash\nlasso-analyzer \u003c--bundle path--\u003e --output \u003c--output filename--\u003e\n```\nCreates outputFilename.html in your project structure.\n\n```bash\nOptions:\n  --output    To change the generated output filename. (default - lasso-analyze.html)\n  --c         Visualize the bundle with colors \n```\n\nFor Example:\n\na. Analyze js bundle file.\n``` bash\nlasso-analyzer static/build.js\n```\nor\n\nb. Analyze all the files inside particular folder and create lasso-analyze.html.\n\n``` bash\nlasso-analyzer static\n```\n\nc. Bundle with colors\n\n```bash\nlasso-analyzer static --c\n```\n\n2. lasso-analyze.html file is created in root path of your project structure.\n\n``` bash\nopen lasso-analyze.html\n```\n\n3. It shows you a treemap visualization as shown below.\n\n## Output\n\nCreates lasso-analyze.html in your project directory.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"lasso-analyzer\" src=\"https://raw.githubusercontent.com/ajay2507/lasso-analyzer/master/example/demo.png\" width=\"512\"\u003e\n\u003c/p\u003e\n\n## Issues ##\nFree feel to create bug or propose improvements.\n\n \n","funding_links":[],"categories":["Bundle Analyzer"],"sub_categories":["Meetups"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpajaydev%2Flasso-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpajaydev%2Flasso-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpajaydev%2Flasso-analyzer/lists"}