1.0.0 • Published 6 years ago

moderne v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

moderne

npm version

moderne is a new Node.js npm package. Transpile import and export statements into require and module.exports with a regex.

yarn add -E moderne

Table Of Contents

API

The package is available by importing its default function:

import moderne from 'moderne'

moderne(  arg1: string,  arg2?: boolean,): void

Call this function to get the result you want.

/* yarn example */
import moderne from 'moderne'

(async () => {
  await moderne()
})()

(c) Art Deco 2018