serverless-esbuild
Our great sponsors
serverless-esbuild | proposal-common-minimum-api | |
---|---|---|
6 | 7 | |
432 | 206 | |
- | 6.3% | |
7.0 | 4.7 | |
about 2 months ago | 20 days ago | |
TypeScript | Bikeshed | |
MIT License | GNU General Public License v3.0 or later |
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.
serverless-esbuild
-
Simple requirement: Bundle dependencies into a single script. esbuild, webpack, bun build throw errors. Solution?
Support Yarn PnP with externals bundling #327
-
๐ Top-level await in AWS Lamba with TypeScript
We use serverless-esbuild to transpile our TypeScript code to JavaScript.
-
AWS Lambda 101: Shave That Bundle Down
You should use appropriate tools to bundle your Lambda functions with a minimal size. For example, the Serverless Framework, with the serverless-esbuild plugin, automatically bundles your code and uploads it to AWS.
-
Announcing a Serverless Microservices Template with GraphQL
One of the most important aspects of serverless development is keeping an eye on your bundle sizes and to reduce cold start times on Lambda. Keeping this in mind, the template utilizes serverless-esbuild and serverless-analyze-bundle-plugin to provide function analysis out-of-the-box. I opted for serverless-esbuild over serverless-bundle for a few reasons:
-
[AWS Lambda] Optimizing node_modules in zip files
Its faster and easier to setup that webpack and drastically reduces the size of the archive. For Serverless framework users there is https://github.com/floydspace/serverless-esbuild and if you use SAM CLI, you already get this for free since they now use esbuild in the build process
-
Dependencies growing too large
if you can, try using https://github.com/floydspace/serverless-esbuild - esbuild is stupid fast and it produces tiny artifacts. Its dead simple too compared to the webpacks/rollups/etc.
proposal-common-minimum-api
-
Can you make your own JavaScript by implementing ECMAScript standard?
If you are considering building a modern JavaScript runtime I would suggest reading Minimum Common API.
-
All all Web API interfaces actually JavaScript objects?
Deno, CloudFlare Workerd, VM Labs WASM Worker Server, and others use some semblance of the ServiceWorker onfetch pattern as a server implementation. Why? Because onfetch of a ServiceWorker with Response() used to send a response to the client is ergonomic. Web API's being implemented by JavaScript runtimes that do not target the browser. In order to try to normalize implementation of Web API's for compatibility there is https://github.com/wintercg/proposal-common-minimum-api.
-
Simple requirement: Bundle dependencies into a single script. esbuild, webpack, bun build throw errors. Solution?
I guess you do not support Minimum Common API even though Node.js does?
-
JavaScript Standard Input/Output: Unspecified
Common I/O (stdin/stdout/stderr) module specification #47.
-
Node.js fetch() vs. Deno fetch(): Implementation details...
My goal for one part of this project was to use the same fetch() code in a Node.js and Deno Native Messaging host, respectively, in the spirit of Minimum Common API
-
how to improve nodejs startup times
The premise of this question is precisely why I filed Single HTTPS server for QuickJS, Bun, Deno, Node.js - without reliance on either to build #33. Closed as
What are some alternatives?
nx - Smart Monorepos ยท Fast CI
native-messaging-bun - Bun Native Messaging host
serverless-bundle - Optimized packages for ES6 and TypeScript Node.js Lambda functions without any configuration.
native-messaging-quickjs - QuickJS Native Messaging host
esbuild - An extremely fast bundler for the web
AudioWorkletStream - fetch() => ReadableStream => AudioWorklet
top-level-await-in-aws-lamba-with-typescript - ๐ Using top-level await in AWS Lambda with TypeScript, esbuild and Serverless Framework
native-messaging-nodejs - Node.js Native Messaging host
serverless-analyze-bundle-plugin - A serverless plugin to visualize and analyze the bundle of a lambda bundled with serverless-esbuild.
fetch - Fetch Standard
lambda-build - Bundle, archive and upload your lambda functions
webbundle-plugins - A Webpack plugin for generating Web Bundles output.