0.1.0 • Published 8 years ago
babelify-require v0.1.0
babelify-require
Apply babel to a module and then require it.
Installation
npm install --save babelify-require
Usage
const babelifyRequire = require('babelify-require');
const result = await babelifyRequire('./es6-module.js');
//result === module exports
License
The MIT License (MIT)
Copyright (c) 2015 parro-it