Identify which NPM libraries are used on a website with Bundle Scanner

Bundle Scanner identifies which npm libraries are used on any website. It downloads every Javascript file from a URL and searches through the files for code that matches one of the 35,000 most popular npm libraries. The scanning itself works in a pretty ingenious way: When a user requests to scan a website, Bundle Scanner …


This content originally appeared on Bram.us and was authored by Bramus!

Bundle Scanner identifies which npm libraries are used on any website. It downloads every Javascript file from a URL and searches through the files for code that matches one of the 35,000 most popular npm libraries.

The scanning itself works in a pretty ingenious way:

When a user requests to scan a website, Bundle Scanner scrapes all the Javascript bundles that are used on that specific URL. For each bundle, it picks out tokens that can be used to search through its library index. It then scores NPM releases based mainly on how many tokens it can find in the same order in both the bundle and in the library code. Since bundlers change the order of code in ways that are hard to predict, it is unusual to find anything close to an exact match. Bundle Scanner then selects the best matching version of every library.

Once you’ve scanned a website, be sure to hit the “View Libraries” button next to a file to see the libraries that the scanner detected.

Bundle Scanner →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2021-12-13T21:48:51+00:00) Identify which NPM libraries are used on a website with Bundle Scanner. Retrieved from https://www.scien.cx/2021/12/13/identify-which-npm-libraries-are-used-on-a-website-with-bundle-scanner/

MLA
" » Identify which NPM libraries are used on a website with Bundle Scanner." Bramus! | Sciencx - Monday December 13, 2021, https://www.scien.cx/2021/12/13/identify-which-npm-libraries-are-used-on-a-website-with-bundle-scanner/
HARVARD
Bramus! | Sciencx Monday December 13, 2021 » Identify which NPM libraries are used on a website with Bundle Scanner., viewed ,<https://www.scien.cx/2021/12/13/identify-which-npm-libraries-are-used-on-a-website-with-bundle-scanner/>
VANCOUVER
Bramus! | Sciencx - » Identify which NPM libraries are used on a website with Bundle Scanner. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/12/13/identify-which-npm-libraries-are-used-on-a-website-with-bundle-scanner/
CHICAGO
" » Identify which NPM libraries are used on a website with Bundle Scanner." Bramus! | Sciencx - Accessed . https://www.scien.cx/2021/12/13/identify-which-npm-libraries-are-used-on-a-website-with-bundle-scanner/
IEEE
" » Identify which NPM libraries are used on a website with Bundle Scanner." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/12/13/identify-which-npm-libraries-are-used-on-a-website-with-bundle-scanner/. [Accessed: ]
rf:citation
» Identify which NPM libraries are used on a website with Bundle Scanner | Bramus! | Sciencx | https://www.scien.cx/2021/12/13/identify-which-npm-libraries-are-used-on-a-website-with-bundle-scanner/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.