"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var graphql_playground_html_1 = require("graphql-playground-html");
var express = function voyagerExpress(options) {
    return function (req, res, next) {
        res.setHeader('Content-Type', 'text/html');
        var playground = graphql_playground_html_1.renderPlaygroundPage(options);
        res.write(playground);
        res.end();
        next();
    };
};
exports.default = express;
//# sourceMappingURL=index.js.map