0.0.3 • Published 1 year ago

@ibrahimalanshor/tabri v0.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Tabri

Tabri

Instalation

npm install @ibrahimalanshor/tabri

Usage

const tabri = require('@ibrahimalanshor/tabri')

const server = tabri({
	port: 4000, // Default 4000
	logging: true, // Default true
	debug: true, // Default true
	static: { // Default not used
		path: '/public', // url path for static
		dir: __dirname + '/public' // directory for static
	},
	i18n: { // Default not used
		messages: require('./messages') // list of messages
		defaultLocale: 'en' // default locale
	},
	routes: [require('./routes')], // array of router
})