Detects which JS Framework is used in a Website.
It can be integrated smoothly with the following environments
- Any environment supporting JavaScript (e.g. Node.js or React Native)
- Any Chrome and Firefox-compatible browser extension.
Try the live demo
npm install js-framework-detector
import detectJsFramework from "js-framework-detector";
const frameworkArray = await detectJsFramework('https://www.producthunt.com/');
console.log(frameworkArray);
// output
[
{
name: 'next',
url: 'https://nextjs.org/',
npm: 'next',
version: '13.0.6'
},
]
const frameworkArray = await detectJsFramework('https://reactjs.org/');
console.log("frameworkArray");
// output
[
{
name: 'react',
url: 'https://reactjs.org/',
npm: 'react',
version: '17.0.2'
},
{ name: 'gatsby', url: 'https://www.gatsbyjs.org/', npm: 'gatsby' },
{
name: 'corejs',
url: 'https://github.com/zloirock/core-js',
npm: 'core-js',
version: 'core-js-global@3.6.5'
}
]
- JQuery
- Next.js
- Remix
- Angular
- React
- Ember.js
- Gatsby
- Nuxt.js
- WordPress
If you have suggestions you can open an issue, or even create a pull request! It will be reviewd as soon as possible. Thank you!