restana:用于构建REST微服务的超快速和极简框架

时间:2024-06-01 12:27:56
【文件属性】:

文件名称:restana:用于构建REST微服务的超快速和极简框架

文件大小:66KB

文件格式:ZIP

更新时间:2024-06-01 12:27:56

nodejs http middleware microservices framework

Restana 快速,微型,极简的类似于连接的Web框架,用于构建REST微服务。 您可以阅读更多内容: 表现 用法 npm i restana --save 创建服务实例 创建不安全的HTTP服务器: const service = require ( 'restana' ) ( ) 传递HTTP服务器实例: const https = require ( 'https' ) const service = require ( 'restana' ) ( { server : https . createServer ( { key : keys . serviceKey , cert : keys . certificate } ) } ) 使用http.createServer()创建restana HTTP服务器: const http


【文件预览】:
restana-master
----.gitignore(586B)
----package.json(2KB)
----.npmrc(18B)
----.travis.yml(96B)
----CODE_OF_CONDUCT.md(3KB)
----LICENSE(1KB)
----index.js(2KB)
----performance()
--------express-payload.js(332B)
--------restana-minimal.js(138B)
--------restify-minimal-json.js(203B)
--------koa-minimal.js(244B)
--------koa-minimal-json.js(259B)
--------fastify-minimal-cluster.js(440B)
--------restana-minimal-json.js(153B)
--------fastify-minimal.js(148B)
--------restana-minimal-slow.js(169B)
--------polka-minimal.js(137B)
--------restana-minimal-promise.js(153B)
--------native-http.js(274B)
--------muneem-minimal.js(167B)
--------fastify-minimal-json.js(163B)
--------hapi-minimal.js(242B)
--------express-minimal.js(140B)
--------express-minimal-json.js(155B)
--------fastify-validation-serialization.js(878B)
--------hapi-minimal-json.js(261B)
--------native-http3.js(674B)
--------restana-minimal-low.js(336B)
--------vertx-minimal.js(331B)
--------suites()
--------restify-minimal.js(188B)
--------native-http2.js(365B)
--------restana-minimal-cluster.js(430B)
--------restana-minimal-cluster-anumargak.js(542B)
----.github()
--------ISSUE_TEMPLATE()
--------FUNDING.yml(88B)
----libs()
--------response-extensions.js(3KB)
--------newrelic-apm.js(183B)
--------request-router.js(2KB)
--------elastic-apm.js(181B)
--------utils.js(181B)
--------methods.js(142B)
--------apm-base.js(481B)
--------tasks()
----README.md(13KB)
----Benchmarks.png(12KB)
----benchmark-30122019.png(9KB)
----demos()
--------express-jwt.js(339B)
--------query-parser.js(137B)
--------basic-service-params.js(159B)
--------response-time.js(315B)
--------https-service.js(424B)
--------minimal.js(138B)
--------body-parser.js(256B)
--------socket.io-https-server.js(496B)
--------route-middleware-express.js(435B)
--------morgan.js(228B)
--------error-handler.js(408B)
--------static()
--------get-routes.js(196B)
--------restana-as-http-middleware.js(258B)
--------raw-body.js(437B)
--------swagger()
--------socket.io-https-client.js(293B)
--------http2-service.js(430B)
--------minimal-json.js(153B)
--------before-send-async.js(543B)
--------modular-nested-routers.js(413B)
--------basic-service.js(200B)
----specs()
--------send.test.js(6KB)
--------slow-processing.test.js(639B)
--------routes-chaining.test.js(778B)
--------hook-in-http-create-server.test.js(751B)
--------disable-response-event.test.js(1007B)
--------elastic-apm.test.js(2KB)
--------smoke.test.js(4KB)
--------send-headers.test.js(892B)
--------nested-router.test.js(797B)
--------newrelic-apm.test.js(2KB)
--------express-like-routes.test.js(2KB)
----index.d.ts(3KB)

网友评论