viper-module

Viper module tools

Usage no npm install needed!

<script type="module">
  import viperModule from 'https://cdn.skypack.dev/viper-module';
</script>

README

Installing

npm i -g viper-module

Usage

Create a module named Menu in the current directory by using a predefined template SKScene

cd /path/to/module/parent/folder
vm create Menu SKScene

Rename a module Menu to Start. It renames the module components as well (Presenter, Interactor, etc.)

cd /path/to/module/parent/folder
vm rename Menu Start

Currently available templates: UIViewController, SKScene, SKNode