[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-759792-105":59,"doc-detail-759792-en":129,"doc-similar-759792":160},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":122,"head_meta":124,"extra_data":126,"updated_unix":128},105,"en","npm-filter-automating-the-mining-of-dynamic-information","npm-filter - Automating the mining of dynamic information","","Repository metadata scraped statically from platforms and registries cannot capture what happens when programs execute. This paper presents npm-filter, an automated tool that downloads, installs, builds, tests, and runs custom scripts over JavaScript projects available on npm to collect dynamic properties such as test pass/fail behavior and derived execution signals. The work outlines the tool, details its implementation, and demonstrates its use in building evaluation suites for multiple JavaScript tools.",{"@graph":69,"@context":121},[70,84,104],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/npm-filter-automating-the-mining-of-dynamic-information/759792/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":98,"encodingFormat":97,"isAccessibleForFree":99,"interactionStatistic":100},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/npm-filter-automating-the-mining-of-dynamic-information/759792.png","ImageObject",300,407,{"name":92,"@type":93},"dbqoiu","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28",true,{"@type":101,"interactionType":102,"userInteractionCount":8},"InteractionCounter",{"@type":103},"ViewAction",{"@type":105,"mainEntity":106},"FAQPage",[107,113,117],{"name":108,"@type":109,"acceptedAnswer":110},"What problem does npm-filter address?","Question",{"text":111,"@type":112},"It addresses the lack of easily accessible dynamic information from npm packages, such as test outcomes, that static metadata alone cannot provide.","Answer",{"name":114,"@type":109,"acceptedAnswer":115},"What does npm-filter do to npm packages?",{"text":116,"@type":112},"It automates downloading, installation, building, testing, and running custom user scripts over the source code of JavaScript projects.",{"name":118,"@type":109,"acceptedAnswer":119},"How does npm-filter support researchers?",{"text":120,"@type":112},"It helps researchers collect execution-based signals to differentiate projects in corpus analyses and to develop evaluation suites for tools.","https://schema.org",{"og:url":83,"og:type":123,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":125,"canonical":83},"index,follow",{"doc_id":127,"site_id":62},759792,1795895068,{"code":4,"msg":5,"data":130},{"doc_id":127,"user_id":131,"nickname":92,"user_avatar":132,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":24,"language":138,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":139,"faqs":140,"seo_title":141,"seo_description":67,"update_tm":128,"read_time":142,"preview_page_count":19,"preview_urls":143},3985747862462,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","The 2022 Mining Software Repositories Conference  \nnpm-filter: Automating the mining of dynamic information  \nfrom npm packages  \nEllen Arteca and Alexi Turcotte∗  \n{arteca.e, [turcotte.al}@northeastern.edu](turcotte.al}@northeastern.edu)  \nABSTRACT  \nThe static properties of code repositories, e.g., lines of code, dependents, dependencies, etc. can be readily scraped from code hosting platforms such as GitHub, and from package management systems such as npm for JavaScript; Although no less important, information related to the dynamic properties of programs, e.g., number of tests in a test suite that pass or fail, is less readily available. The ability to easily collect this dynamic information could be immensely useful to researchers conducting corpus analyses, as they could differentiate projects based on properties that can only be observed by running them.  \nIn this paper, we present npm-filter, an automated tool that can download, install, build, test, and run custom user scripts over the source code of JavaScript projects available on npm, the most popular JavaScript package manager. We outline this tool, describe its implementation, and show that npm-filter has already been useful in developing evaluation suites for multiple JavaScript tools.  \nKEYWORDS  \nJavaScript, npm, corpus analysis, tool evaluation  \nACM Reference Format:  \nEllen Arteca and Alexi Turcotte. 2022. npm-filter: Automating the mining of dynamic information from npm packages. In 19th International Conference on Mining Software Repositories (MSR’22), May 23–24, 2022, Pittsburgh, PA, USA. ACM, New York, NY, USA, 5 pages. [https://doi.org/10.1145/3524842.3528501](https://doi.org/10.1145/3524842.3528501)  \n1 INTRODUCTION  \nMany code hosting platforms contain a wealth of useful metadata: e.g., GitHub lists code authors, commits, and general project history, and library repositories (such as npm for JavaScript) often contain information on dependencies and dependents. Although it can be readily scraped from the web, this metadata is static, and does not tell you much about running the actual code. We thus define dynamic metadata tobe information gleaned from program executions: e.g., number of running tests, code coverage of tests, performance, memory usage, etc. Making said dynamic metadata available can enable new corpus analyses, focused on data pertaining to program executions—this is the purpose of our tool, npm-filter.  \n∗ Both authors contributed equally to this research.  \nPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission [and/or a fee. Request permissions from permissions@acm.org](and/or a fee. Request permissions from permissions@acm.org).  \nMSR’22, May 23–24, 2022, Pittsburgh, PA, USA  \n© 2022 Copyright held by the owner/author(s) . Publication rights licensed to ACM. ACM ISBN 978-1-4503-9303-4/22/05. . . $15.00 [https://doi.org/10.1145/3524842.3528501](https://doi.org/10.1145/3524842.3528501)  \nnpm-filter is a tool for automatically installing, building, and testing sets of npm packages. npm is a major repository for JavaScript library code, and already contains a wealth of static metadata about JavaScript projects (and, if available, a link to the code) . npm-filter complements this by generating information such as how a project is built, if and how it is tested, the number of passing/failing tests, and the list of transitive dependencies. npm-filter runs package code in a sandbox for added security and to ensure reproducibility of results. Users can also specify custom scripts","cbCaijDwAEcea57u","https://ap.wps.com/l/cbCaijDwAEcea57u","pdf",112125,"English","# Abstract\n# Introduction\n# Background & Motivation\n# Tool Overview\n## Implementation\n## Evaluation Use Cases","[{\"question\":\"What problem does npm-filter address?\",\"answer\":\"It addresses the lack of easily accessible dynamic information from npm packages, such as test outcomes, that static metadata alone cannot provide.\"},{\"question\":\"What does npm-filter do to npm packages?\",\"answer\":\"It automates downloading, installation, building, testing, and running custom user scripts over the source code of JavaScript projects.\"},{\"question\":\"How does npm-filter support researchers?\",\"answer\":\"It helps researchers collect execution-based signals to differentiate projects in corpus analyses and to develop evaluation suites for tools.\"}]","npm-filter - Automating the mining of dynamic information | PDF",13,[144,148,152,156],{"page_no":8,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/28aa2c668a39e5303db044eefa3ad095.webp",983,1272,{"page_no":14,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/53b12d316efc49109f22e4dcb59afd5b.webp",982,1270,{"page_no":81,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/fbe0b8d73d37ed7110012029c57be90d.webp",981,1269,{"page_no":19,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/f898be52e0ee05a72d2ad6f1ad393205.webp",980,1268,{"list":161,"token":66},[162,168,174,180,186,193,199,205,212,218],{"doc_id":163,"doc_title":164,"file_type":136,"home_preview_img_url":165,"slug":166,"view_count":8,"category_name":30,"create_tm":167},759801,"The Node.js Handbook - Introduction to Node.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485168/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=z%2FfkhbuXv5bFzkHymP6%2FP8aNGxE%3D","the-nodejs-handbook-introduction-to-nodejs",1795895118,{"doc_id":169,"doc_title":170,"file_type":136,"home_preview_img_url":171,"slug":172,"view_count":34,"category_name":30,"create_tm":173},692311,"Node.js Course","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003200153/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=YGZ%2F5tu0%2Bb8Y77rPfzo2M92glaM%3D","nodejs-course",1794192942,{"doc_id":175,"doc_title":176,"file_type":136,"home_preview_img_url":177,"slug":178,"view_count":34,"category_name":30,"create_tm":179},700982,"Java Scripting Programmer's Guide - Release 11","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011575643/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=abT%2FmAiswQy17wFh5gI0ePdRPxk%3D","java-scripting-programmers-guide-release-11",1794522624,{"doc_id":181,"doc_title":182,"file_type":136,"home_preview_img_url":183,"slug":184,"view_count":8,"category_name":30,"create_tm":185},759796,"Microservices with Node.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044484999/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=xKCIsbbW34ZpTnKZQwXGlqQZtdo%3D","microservices-with-nodejs",1795895075,{"doc_id":187,"doc_title":188,"file_type":136,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":30,"create_tm":192},8763,"JQuery Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229696909381/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=sHLFTVXVf341cZRtTmkQsrZ5GB8%3D","jquery-tutorial",55,1776339227,{"doc_id":194,"doc_title":195,"file_type":136,"home_preview_img_url":196,"slug":197,"view_count":81,"category_name":30,"create_tm":198},689513,"lnav Documentation - Release 0.15.0 - Nov 06, 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001332494/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=z0QDKz4aF3asg0OxeZ13QeT6iPs%3D","lnav-documentation-release-0150-nov-06-2026",1794112221,{"doc_id":200,"doc_title":201,"file_type":136,"home_preview_img_url":202,"slug":203,"view_count":46,"category_name":30,"create_tm":204},119626,"Working with the SDU Repository - Uploading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835143718/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=D4ApcsODuJfMftwwSIzEeaa2AM4%3D","working-with-the-sdu-repository-uploading-guide",1785725368,{"doc_id":206,"doc_title":207,"file_type":136,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":30,"create_tm":211},489289,"Umbraco Headless Demo - Deep Dive into the Umbraco Headless Demo","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927221396/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=Efc%2BIIeuPUt1a%2FSDyNEr%2Ft%2FLwhw%3D","umbraco-headless-demo-deep-dive-into-the-umbraco-headless-demo",11,1790822011,{"doc_id":213,"doc_title":214,"file_type":136,"home_preview_img_url":215,"slug":216,"view_count":19,"category_name":30,"create_tm":217},655955,"Oracle Designer I - Part 2 - ER-Diagrams in Oracle Designer","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294892/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=kXpZ7kTvjyv64WyDrZ5rvFpRS7w%3D","oracle-designer-i-part-2-er-diagrams-in-oracle-designer",1792965078,{"doc_id":219,"doc_title":220,"file_type":136,"home_preview_img_url":221,"slug":222,"view_count":8,"category_name":30,"create_tm":223},763092,"Selenium Full Material Updated Greens","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230045654967/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111099&Signature=bJlzjac3MnUGSYpa1%2FXvo3Eh6k0%3D","selenium-full-material-updated-greens",1795999623]