{"id":13452019,"url":"https://github.com/FredKSchott/analyze-npm","last_synced_at":"2025-03-23T19:33:29.255Z","repository":{"id":66337098,"uuid":"160552740","full_name":"FredKSchott/analyze-npm","owner":"FredKSchott","description":"Analyze npm, hunt for es module packages","archived":true,"fork":false,"pushed_at":"2019-05-18T05:03:20.000Z","size":18254,"stargazers_count":35,"open_issues_count":6,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-05T11:12:04.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FredKSchott.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}},"created_at":"2018-12-05T17:14:28.000Z","updated_at":"2024-08-05T11:12:04.486Z","dependencies_parsed_at":"2023-04-04T04:24:49.878Z","dependency_job_id":null,"html_url":"https://github.com/FredKSchott/analyze-npm","commit_stats":null,"previous_names":["pikapkg/analyze-npm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredKSchott%2Fanalyze-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredKSchott%2Fanalyze-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredKSchott%2Fanalyze-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredKSchott%2Fanalyze-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FredKSchott","download_url":"https://codeload.github.com/FredKSchott/analyze-npm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245158917,"owners_count":20570285,"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":[],"created_at":"2024-07-31T07:01:10.253Z","updated_at":"2025-03-23T19:33:28.793Z","avatar_url":"https://github.com/FredKSchott.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# @pikapkg/analyze-npm\n\nThis repository searches the npm graph for the most popular \"module\" packages.  \nBased on [@anvaka/npmrank](https://github.com/anvaka/npmrank).\n\n\n# Setup\n\n#### 1. Clone \u0026 Install\n```\ngit clone https://github.com/pikapkg/analyze-npm.git\ncd analyze-npm\nnpm install\n```\n\n#### 2. Download the npm graph data:\n\n```\n./01_get_graph.sh\n```\n\nThis will download graph from skimdb and save it to `data` folder. As of\nSeptember 2016 this data is about 500MB.\n\n#### 3. FInd all ES modules in the local graph data:\n\nnode --max-old-space-size=4096 02_analyze_new.js\n\n#### 3. Create the graph for additional analysis:\n\nConvert it to `ngraph.graph` format\nfor further analysis.\n\n```\nnode --max-old-space-size=4096 02_create_graph.js\n```\n\nYou are now ready to analyze the graph.\n\n## Running additional analysis:\n\n```\nnode --max-old-space-size=4096 03_analyze_historical.js\nnode --max-old-space-size=4096 04_collect_historical.js\nnode --max-old-space-size=4096 04_collect_historical_npm.js\n```\n\nThis will write out a dictionary of \"module\" packages on npm, to the file called `found-modules.json`.\n\n\u003c!-- ignore this --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFredKSchott%2Fanalyze-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFredKSchott%2Fanalyze-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFredKSchott%2Fanalyze-npm/lists"}