This is a plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.
It implements support for export namespace from as defined in the proposal Add `export * as ns from "mod"` to Export production and Module Semantic. The emitted AST follows ESTree.
This module provides a plugin that can be used to extend the Acorn Parser
class:
const {Parser} = require('acorn');
const acornExportNsFrom = require('acorn-export-ns-from');
Parser.extend(acornExportNsFrom).parse('export * as ns from "source"');
This plugin is released under an MIT License.