Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-un-cjs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-un-cjs

Tries to convert a commonjs module to an esm module to be pulled into rollup or another bundler

  • 2.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-46.15%
Maintainers
1
Weekly downloads
 
Created
Source

babel-plugin-un-cjs

Tries to convert a commonjs module to an esm module to be pulled into rollup or another bundler

THIS IS UNSTABLE

USE WITH CAUTION

There are many many many edge cases that won't work with this. Many or most ways that commonjs is used will work with this plugin. If you find a case that doesn't work, you can open an issue. No guarantees on whether it can or will be fixed.

Priorities

  1. Preserve functionality with default export.
  2. Create additional named exports as is possible

FAQs

Package last updated on 01 Jun 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc