load-es
v1.0.4
Published
Load ES Module or TypeScript in node environment
Downloads
26
Maintainers
Readme
load-es
Load ES Module or TypeScript in node environment
Installation
npm install load-es
#or
yarn add load-es
Usage
node --require load-es <your file path>
example
node --require load-es main.js
main.js
import Koa from 'koa';
const app = new Koa();
//...