![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@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
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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.