https://github.com/pyramation/standalone-module
https://github.com/pyramation/standalone-module
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pyramation/standalone-module
- Owner: pyramation
- License: mit
- Created: 2017-10-18T14:25:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-19T14:26:37.000Z (over 8 years ago)
- Last Synced: 2025-07-12T21:39:59.701Z (11 months ago)
- Language: HTML
- Size: 191 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
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'
});
})();
```