
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
es6-node-elevator
Advanced tools
Elevate node modules for easy ES6 import.
Creates entry points for main files for all modules e.g. under node_modules.
Example:
main file | entry point |
|---|---|
node_modules/lodash/index.js | node_modules/lodash.js |
node_modules/glob/glob.js | node_modules/glob.js |
Now, with ES6 imports, you can simply:
import _ from 'node_modules/lodash.js';
Install via npm:
npm i --save -g es6-node-elevator
Command line:
es6-node-elevator
Or programmatically:
var elevator = require('es6-node-elevator');
elevator();
| name | description | default |
|---|---|---|
dir | Directory to scrape for modules (directories containing package.json). | 'node_modules' |
out | Directory in which to write entry point files (e.g. lodash.js). | 'node_modules' |
FAQs
Elevate node modules for easy ES6 import.
We found that es6-node-elevator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.