@hono/node-server
Advanced tools
Comparing version 0.2.2 to 0.2.3
export { serve, createAdaptorServer } from './server'; | ||
export { serveStatic } from './serve-static'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serveStatic = exports.createAdaptorServer = exports.serve = void 0; | ||
exports.createAdaptorServer = exports.serve = void 0; | ||
var server_1 = require("./server"); | ||
Object.defineProperty(exports, "serve", { enumerable: true, get: function () { return server_1.serve; } }); | ||
Object.defineProperty(exports, "createAdaptorServer", { enumerable: true, get: function () { return server_1.createAdaptorServer; } }); | ||
var serve_static_1 = require("./serve-static"); | ||
Object.defineProperty(exports, "serveStatic", { enumerable: true, get: function () { return serve_static_1.serveStatic; } }); |
{ | ||
"name": "@hono/node-server", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "HTTP Server for Hono on Node.js", | ||
@@ -10,2 +10,13 @@ "main": "dist/index.js", | ||
], | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./serve-static": "./dist/serve-static.js" | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"serve-static": [ | ||
"./dist/serve-static.d.ts" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
@@ -12,0 +23,0 @@ "test": "jest", |
@@ -85,3 +85,3 @@ # Hono on Node.js | ||
```ts | ||
import { serve, serveStatic } from '@hono/node-server' | ||
import { serveStatic } from '@hono/node-server/serve-static' | ||
@@ -88,0 +88,0 @@ //... |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15098
316