Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zhuowenli/generate-weapp-module


https://github.com/zhuowenli/generate-weapp-module

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

# generate-weapp-module

> Auto generate wechat weapp modules

## Install

```bash
$ npm install generate-weapp-module --save
```

## Useage

```js
const generate = require('generate-weapp-module');

const res = generate({
root: __dirname,
name: 'demo'
});

console.log(res);
```

## OPTIONS

### options

Type: `Object`

### return file

Type: `String`
generated file path.