
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@babel/plugin-syntax-export-namespace-from
Advanced tools
Allow parsing of export namespace from
The @babel/plugin-syntax-export-namespace-from package allows Babel to parse the export * as syntax, which is used to re-export all named exports from another module under a single namespace. This is part of the ECMAScript 2020 specification and enables more concise and flexible module exports.
Namespace export
This feature allows all named exports from a module to be re-exported under a single namespace. It simplifies the process of re-exporting multiple exports and enhances code readability and maintainability.
export * as namespaceName from './module';
This package is a proposal plugin for Babel that adds support for the export * as syntax, similar to @babel/plugin-syntax-export-namespace-from. The key difference is that @babel/plugin-proposal-export-namespace-from not only allows Babel to parse this syntax but also transforms it, making it usable in environments that do not support this syntax natively.
While not a direct alternative, @babel/preset-env includes support for transforming modern ECMAScript features, including the export * as syntax, to be compatible with older environments. It's a more comprehensive solution that includes the functionality of @babel/plugin-syntax-export-namespace-from as part of its broader feature set.
Allow parsing of export namespace from
See our website @babel/plugin-syntax-export-namespace-from for more information.
Using npm:
npm install --save-dev @babel/plugin-syntax-export-namespace-from
or using yarn:
yarn add @babel/plugin-syntax-export-namespace-from --dev
FAQs
Allow parsing of export namespace from
The npm package @babel/plugin-syntax-export-namespace-from receives a total of 0 weekly downloads. As such, @babel/plugin-syntax-export-namespace-from popularity was classified as not popular.
We found that @babel/plugin-syntax-export-namespace-from demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.