deno_swc
HTTP
deno_swc | HTTP | |
---|---|---|
1 | 2 | |
113 | 4 | |
0.0% | - | |
0.0 | 0.0 | |
about 1 year ago | almost 3 years ago | |
JavaScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
deno_swc
-
Call for feedback on Frugal, a framework inspired by next
Currently i'm using deno_swc, so it is rather quick, but i did not run any benchmark to know if it is critical to restrict the analysis only to the relevant modules.
HTTP
-
Building a HTTP Server from scratch: Implementing File Download and Upload
// https://github.com/i-y-land/HTTP/blob/episode/03/library/utilities.js#L208 export const readLine = (xs) => xs.subarray(0, xs.indexOf(LF) + 1); export const decodeRequest = (xs) => { const headers = {}; let body, method, path; const n = xs.byteLength; let i = 0; let seekedPassedHeader = false; while (i < n) { if (seekedPassedHeader) { body = xs.subarray(i, n); i = n; continue; } const ys = readLine(xs.subarray(i, n)); if (i === 0) { if (!findIndexOfSequence(ys, encode(" HTTP/"))) break; [method, path] = decode(ys).split(" "); } else if ( ys.byteLength === 2 && ys[0] === CR && ys[1] === LF && xs[i] === CR && xs[i + 1] === LF ) { seekedPassedHeader = true; } else if (ys.byteLength === 0) break; else { const [key, value] = decode( ys.subarray(0, ys.indexOf(CR) || ys.indexOf(LF)), ).split(/(?<=^[A-Za-z-]+)\s*:\s*/); headers[key.toLowerCase()] = value; } i += ys.byteLength; } return { body, headers, method, path }; };
-
Building a HTTP Server from scratch: Understanding Request & Response
🐙 You will find the code for this post here: https://github.com/i-y-land/HTTP/tree/episode/02
What are some alternatives?
astexplorer - A web tool to explore the ASTs generated by various parsers.
i18next - i18next: learn once - translate everywhere
frugal - A frugal web framework
i18next-http-backend - i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.
website - Documentation for the SWC project.
i18next-http-middleware - i18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno.
putout - 🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏
ImageScript - zero-dependency JavaScript image manipulation
prettier - Prettier is an opinionated code formatter.
swc - Rust-based platform for the Web
FuseBox - A blazing fast js bundler/loader with a comprehensive API :fire:
expr-eval - Mathematical expression evaluator in JavaScript