An open API service indexing awesome lists of open source software.

https://github.com/pyramation/standalone-module


https://github.com/pyramation/standalone-module

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# create standalone modules

## Usage

```sh
yarn add standalone-module
```

```js
import { transform } from 'standalone-module';

(async ()=>{
const code = await transform({
moduleName: 'myawesomemodule',
modulePath: __dirname + '/path/to/your/module'
});
})();

```