@rndm/babel-node-modules

0.1.0 • Public • Published

RNDM Babel Node Modules

Introduction

RNDM Babel Node Modules is an alternative to the excellent https://www.npmjs.com/package/babel-node-modules package. The reason behind this package is to reduce dependency on an outdated package that does not currently support the new Babel 7 framework.

This package has removed the 'babel-register' require in favour of the '@babel/register', as well as modernising and updating the ignore options to match the Babel 7 specifications.

Installation

Make sure you have Node.js installed.

Then, to get started simply run the following command from your preferred terminal interface:

npm install -g @rndm/babel-node-modules

Usage

The package is very simple to use. By default it will ignore all node_modules packages, with the exceptions of the packages you want to register on the whitelist.

Example

require('@rndm/babel-node-modules')(['packge-1','package-2'])

Readme

Keywords

none

Package Sidebar

Install

npm i @rndm/babel-node-modules

Weekly Downloads

2

Version

0.1.0

License

Apache-2.0

Unpacked Size

2.15 kB

Total Files

4

Last publish

Collaborators

  • paul.j.napier