New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

euphony

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

euphony

Run node.js with all ES6 features today!

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

##euphony

Run node.js with all ES6 features today!

###install

npm install euphony

###usage

euphony extends native require allowing use es6 code in .js files.

You should include euphony in the be begining of your programm, to overide all modules. Better way to do this is create one more file:

index.js

var {createReadStream, createWriteStream} = require('fs');
createReadStream('./src.log').pipe(createWriteStream('./dst.log'));
// any other es6 code here

and index.es5.js

require('euphony');
require('./index');

Now you can run your code:

node index.es5

###options

You can pass options into euphony

require('euphony')({
    // will skip all files with "lib" or "node_modules" in pathname
    skip: /lib|node_modules/ 
})

by default euphony skips all node_modules

FAQs

Package last updated on 25 Dec 2014

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