Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

node-cjs-interop-finder

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-cjs-interop-finder

A helper command for babel-plugin-node-cjs-interop

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
684
494.78%
Maintainers
0
Weekly downloads
 
Created
Source

node-cjs-interop-finder: list packages eligible for babel-plugin-node-cjs-interop

Helps configuring babel-plugin-node-cjs-interop.

Usage

npx node-cjs-interop-finder

It searches packages in dependencies and devDependencies, and estimates their module types. It prints the list of packages in Babel's simulated ESM format.

It prints two package lists: for Node.js and for module bundlers like Webpack.

You don't need to specify all packages in the list; in most cases you only need the plugin when importing default exports.

Keywords

cli

FAQs

Package last updated on 03 Aug 2024

Did you know?

Socket

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