UNPKG

flyio

Version:

Lightweigh Promise based HTTP client for the browser and node.js

9 lines (8 loc) 257 B
//weex entry const Fly = require("./fly") const EngineWrapper = require("./engine-wrapper") const adapter = require("./adapter/weex") const weexEngine = EngineWrapper(adapter) module.exports = function (engine) { return new Fly(engine || weexEngine); }