Skip to content

parro-it/babelify-require

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babelify-require

Apply babel to a module and then require it.

Travis Build Status NPM module NPM downloads

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

About

Apply babel to a module and then require it.

Resources

License

Stars

Watchers

Forks

Packages

No packages published