hapi-flatmarket
v3.0.1
Published
A hapi plugin for Flatmarket.
Downloads
8
Readme
hapi-flatmarket
A hapi plugin for Flatmarket.
Installation
npm install hapi-flatmarket
Usage
var Flatmarket = require('hapi-flatmarket')
server.register({
register: Flatmarket,
options: options,
}, function (err) {})
options
Object
corsOrigins
[String]
Sets the CORS headers for your routes. Default
['*']
.schemaUri
String
The URI for the flatmarket schema. Required.
stripeSecretKey
String
The Stripe secret key. Required.
License
See LICENSE.