Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hono/node-server

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hono/node-server - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

1

dist/index.d.ts
export { serve, createAdaptorServer } from './server';
export { serveStatic } from './serve-static';

4

dist/index.js
"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 @@ //...

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc