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

https://github.com/fantasyui-com/ensure-module

Create a module from template.
https://github.com/fantasyui-com/ensure-module

Last synced: 5 months ago
JSON representation

Create a module from template.

Awesome Lists containing this project

README

          

# Ensure Module
Similar to yeoman, tiny build system for modules that use handlebars templates

## Example

```JavaScript

ensureModule(
src, // path to template module directory (ex. my-templates/fancy-promise-module/)
dest, // new module path, generally ./my_modules/my-needed-module to reference target location
data, // contains name, description, author, dependencies, etc...
);

```

## Notes
It only ensures existence, it will not override existing data.