Nostalgic Perogi Monogramming
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

babelify-require

0.1.0 • Public • Published

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

Keywords

none

install

npm i babelify-require

Downloadsweekly downloads

7

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability