
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
@hattip/bundler-deno
Advanced tools
@hattip/bundler-deno
Hattip bundler for Deno. It uses esbuild
behind the scenes.
hattip-deno <input> <output>
Bundle the Hattip app in <input> into <output> as a Deno module.
Options:
-h, --help Display this message
-v, --version Display version number
The input should be a Deno module similar to the following:
import { createRequestHandler } from "@hattip/adapter-deno";
import handler from "./handler.js";
Deno.serve(createRequestHandler(handler), { port: 3000 });
If you want serve static files too, you can use the serveDir
function. Assuming your static files are in the public
directory, you can use the following:
import { serve, serveDir, createRequestHandler } from "@hattip/adapter-deno";
import hattipHandler from "./handler.js";
const handler = createRequestHandler(hattipHandler);
serve(
async (request, connInfo) => {
const staticResponse = await serveDir(request, { fsRoot: "./public" });
if (staticResponse.status !== 404) {
return staticResponse;
}
return handler(request, connInfo);
},
{
port: 3000,
},
);
The output is a Deno module that can be run with deno run
or deployed to Deno Deploy.
🚧 TODO 🚧
Refer to the TypeScript for the time being.
FAQs
Deno bundler for Hattip
The npm package @hattip/bundler-deno receives a total of 193 weekly downloads. As such, @hattip/bundler-deno popularity was classified as not popular.
We found that @hattip/bundler-deno demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.