Socket
Socket
Sign inDemoInstall

@xdn/framework-detector

Package Overview
Dependencies
35
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @xdn/framework-detector

Detects the framework that a project is using by analyzing its dependencies.


Version published
Weekly downloads
0
Maintainers
1
Install size
639 kB
Created
Weekly downloads
 

Readme

Source

xdn-framework-detector

Detects the framework that a project is using by analyzing its dependencies.

Adding frameworks

To add a framework, first add an entry to src/frameworks.js:

{
  name: 'Next.js', // the name of the framework - will be displayed to the user in the CLI output
  builder: '@xdn/next', // the xdn-* package used to build apps with that framework for the XDN
  command: 'xdn-next-build', // the bin command in the above package that needs to be run to build the app for deployment on the XDN
  dependency: 'next', // If this package is installed, we know we're using this framework
}

FAQs

Last updated on 30 Mar 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc