dreck

1.0.20 • Public • Published

Dreck

Scaffolding to set up crud operations.

Making a type specific Hanlder

const Dreck = require('dreck')


class DatabaseServerDreck extends Dreck {
	constructor(options) {
		super(Object.assign( 
			{
				templatePrefix: 'database-servers/',
				locals: {
					pretemplate: 'app_pre',
					posttemplate: 'app_post'
				}
			}
			, options
		))
	}
}

module.exports = DatabaseServerDreck

Readme

Keywords

Package Sidebar

Install

npm i dreck

Weekly Downloads

3

Version

1.0.20

License

ISC

Unpacked Size

19.6 kB

Total Files

19

Last publish

Collaborators

  • dankolz