@motorjs/engine

motor engine

Stats

StarsIssuesVersionUpdatedCreatedSize
@motorjs/engine
3.3.32 years ago3 years agoMinified + gzip package size for @motorjs/engine in KB

Readme

Motor Engine

NOTE: if you are using @motorjs/cli you don't need to install this

Installation

using yarn

yarn add @motorjs/engine

using npm

npm i -S @motorjs/engine

Usage

const motor = require('@motorjs/engine')

const motorConfig = {
  templatesDir : path.resolve('templates'),
  outputDir : path.resolve('output'),
  viewsDir : path.resolve('views'),

  plugins: [
    new Pug()
    new Html()
  ]
}

motor(motorConfig)

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.