pkg
DISCONTINUED
Express
Our great sponsors
pkg | Express | |
---|---|---|
90 | 668 | |
24,099 | 63,507 | |
- | 1.0% | |
6.3 | 7.6 | |
3 months ago | about 20 hours ago | |
JavaScript | JavaScript | |
MIT License | 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.
pkg
-
Tailwind CSS v4.0.0 Alpha
> Standalone CLI — we haven’t worked on a standalone CLI for the new engine yet, but will absolutely have it before the v4.0 release.
This part is the most exciting to me. Given the rest of the release announcement, I'm assuming this means that it'll be built in Rust rather than embed Node. While I'm not a Rust zealot of anything, I'm very partial to not embedding Node. Particularly when it depends on using Vercel's now-abandoned pkg[1] tool.`
-
Things I've learned about building CLI tools in Python
The npm package called "pkg" seems to be the standard for packaging NodeJS applications
https://www.npmjs.com/package/pkg
Unfortunately you also need to bundle all your code into a single file for it to work, but you can use any bundler (webpack, parcel, etc) you want at least
-
Deno 1.35: A fast and convenient way to build web servers
Nodejs support for "single executable applications" is getting there - this issue below is preventing wider adoption at the moment:
"The single executable application feature currently only supports running a single embedded script using the CommonJS module system."
https://nodejs.org/api/single-executable-applications.html
Should be an awesome game changer for node.js when the feature gets rounded out.
Also check out vercel's `pkg`: https://github.com/vercel/pkg/issues/1291
-
Can I include Node inside my project?
Yes, you can. Check out pkg for a fun option, which can package up your project and Node.js into a single executable.
- Bun v0.6.0 – Bun's new JavaScript bundler and minifier
- How to restrict the access to an on premise node server?
-
Tips for reducing Docker image size
package the app using https://github.com/vercel/pkg and use a smaller base image like alpine, busybox or even scratch (if possible)
-
Theorizing ways to compile multiple JavaScript files into a portable executable
pkg is a tool that bundles up either JS source code or V8 bytecode, along with NodeJS in a binary file and a virtual filesystem, and produces an executable binary file.
- How do I export/distribute a Node.js command line application?
-
Open source StreamDeck alternative
Use PKG to create a single executable
Express
-
Full Stack Web Development Concept map
express - one of the most popular middleware tools, lightweight and easy to learn. docs
-
How to convert exist nodejs/expressjs app from javascript to typescript, the painless way
Converting a large Express.js application from JavaScript to TypeScript can be a challenging task. For many applications, this represents a significant portion of their technical debt, as the process may span many days, if not months, and new changes are typically not allowed during the conversion.
-
Why I keep an eye on the Vue ecosystem and you should too
Nitro is a nice https webserver that you can deploy everywhere. Comparing it to express, it doesn't need weird middlewares for json, it has a simple way to support caching, a file system router, tasks and scheduled tasks that avoid quite a few shell scripts, db:migrations etc, plugins, KV storages, SQL connectors, websockets...
-
Meteor v3 uses express under the hood – How to use and deploy it.
As you might have seen from this PR and in our forums Meteor v3(it is still in beta, but you can follow the progress here) will be released with a new engine, expressjs.
-
Um júnior e um teste técnico: The battle.
Express JS
-
The Ultimate Roadmap to a Full-Stack Developer
Express.js Documentation - Official documentation for Express.js, a minimal and flexible Node.js web application framework for backend development. Express.js Documentation
-
Preventing SQL injection attacks in Node.js
To better understand how SQL injection works, let's quickly create a vulnerable app using Node.js, Express, and a PostgreSQL database. The application takes user input from a form, constructs a SQL query, and executes it against the database to fetch some data.
-
WebSocket vs. HTTP communication protocols
Of course, this separation does depend on your application’s architecture. Consider a similar situation where your application and web server are implemented together in the same process, such as a Node.js Express app. A fatal error here will also terminate the web server, limiting the usefulness of the error that the client will receive.
-
Rust GraphQL APIs for NodeJS Developers: Introduction
Actix-web, while not as feature-rich as NestJS, resembles lighter-weight frameworks such as Fastify or Express. This means much of the folder structure and architectural decisions are left to the developer. I recommend adopting a Model-Service-Resolver (MSR) structure for your application, consisting of:
-
How to Handle File Uploads with Node.js and Express
Basic knowledge of JavaScript and Express
What are some alternatives?
Next.js - The React Framework
nexe - 🎉 create a single executable out of your node.js apps
SvelteKit - web development, streamlined
Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]
ncc - Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
AdonisJs Application
Restify - The future of Node.js REST development
fastify - Fast and low overhead web framework, for Node.js
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
loopback-next - LoopBack makes it easy to build modern API applications that require complex integrations.
json-server - Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Meteor JS - Meteor, the JavaScript App Platform