pkg
parcel
Our great sponsors
pkg | parcel | |
---|---|---|
77 | 138 | |
22,711 | 41,938 | |
1.0% | 0.4% | |
7.6 | 9.6 | |
17 days ago | 6 days 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
- Russhian Roulette: 1/6 chance of posting your SSH private key on pastebin
-
From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience
You don't even need that: https://github.com/vercel/pkg.
I think there are equivalents in the Python ecosystem.
- Valetudo – Free your vacuum cleaner from the cloud
-
Exploring competitive features in Node.js v18 and v19
Another exciting feature is the ability to build a single-executable Node.js binary. Before Node.js v18, the only way to build a Node.js binary was to use a third-party package, like pkg.
-
Docker's technical preview of WASM with Rust
As a comparison I am using https://github.com/vercel/pkg to package my Node.js app into an exe file. Vercel-pkg allows me to build different images for different platforms like Windows, Linux, Mac. It would be nice if it could produce a single .exe that worked on all platforms. But I guess such an exe would have to be bigger. It is not too cumbersome to produce one exe per platform that my users need.
-
Tauri + NodeJS: Alternative to Electron
To run NodeJS as a sidecar we need to pack it into binary. Taurine is bundling your server code and preparing it for packing into a single binary. Using Vercel’s pkg CLI tool we can compile it into a single executable binary. That binary is running with the Tauri application.
-
nodeMyAdmin: The alternative to phpMyAdmin written with node.JS
What if you packaged the whole thing into one executable using pkg?
-
How to run code without node?
In addition to the other responses, there are node packages like pkg and nexe that you can use to package the node executable and your code into a single executable.
-
Memories: Edinburgh ML to Standard ML
Not really, at last check it just bundles the entire .Net runtime with the compiled image. It's basically the equivalent of https://github.com/vercel/pkg or similar tools.
-
Command line applications
You can even pack your terminal application in a single binary that does not require separate NodeJS installed via pkg.
parcel
-
Django and Tailwind
FWIW, I'm using https://pnpm.io and https://parceljs.org to handle collecting and building the static assets for .js (Alpine and HTMX) and .css (Tailwind). I found it cleaner separation of concerns to let the JavaScript tooling manage the JavaScript dependencies, and have been happy with the performance and flexibility of this approach.
-
Hindsight is a free and open-source retrospective board
It's a React application written in TypeScript using Parcel.
-
Show HN: Hindsight is a free and open-source retrospective board
- Data export.
Feel free to leave feedback here or on GitHub[3]. Perhaps it could be helpful to you as well. Cheers!
-
Setting up a custom toolchain
A bundler lets you write modular code and bundle it together into small packages to optimize load time. Popular bundlers: webpack, Parcel, esbuild, swc.
-
Getting Tailwind to Work with Elm Book
Most front-end frameworks nowadays include these features as part of their CLI’s such as Create React App, Angular’s ng-cli, etc. For those that don’t, many will use a combination of some type of bundler like Parcel, Rollup, or Webpack and a browser refresher like livereload. This enables you to write code, save it, and immediately see the results. This in turn leads to fast feedback as you iterate all day in this build loop. The native Elm Reactor doesn’t offer this ability and elm-live fits the bill as a small Node.js library to enable this.
-
Front-end Guide
Parcel
-
Getting Started With Parcel.js: A Web Application Bundler in 2022
First of all, you’ll notice that Parcel always places your bundled scripts and stylesheets in the same directory as the entry point HTML files. This happens even if you have your CSS and JavaScript files in separate folders. Since these are production files, it might not matter much. But it’s something to keep in mind. The good news is this seems to have been corrected in the upcoming Parcel version 2 (still in Alpha). So there should be a way to override this behavior when that version of Parcel is stable (the current stable version is 1.12.4).
Webpack is the most popular bundler and it followed on the heels of Require.js, Rollup, and similar solutions. But the learning curve for a tool like webpack is steep. Getting started with webpack isn’t easy due to its complex configurations. As a result, in recent years another solution has emerged. This tool is not necessarily a front-runner, but an easier-to-digest alternative on the front-end module bundler landscape. Introducing Parcel.js.
-
Vercel announces Turbopack, the successor to Webpack
After years of configuring webpack for various projects I have finally decided to migrate all my projects to Parcel[1] manly because I got tired of creating and maintaining hundreds of lines of webpack.config.js files, I wanted something that just works. I am really happy with that decision.
Parcel is plenty fast and is pretty much zero config, I can use it to build libraries[2] as well as applications[3] for the browser and node.
I am manly building client side react applications, so your mileage may vary.
> I just wanna `script/build` or `yarn dev` and not think about it anymore.
Parcel might be a good fit for you: https://parceljs.org/
What are some alternatives?
vite - Next generation frontend tooling. It's fast!
nexe - 🎉 create a single executable out of your node.js apps
esbuild - An extremely fast bundler for the web
ncc - Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
gulp - A toolkit to automate & enhance your workflow
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Next.js - The React Framework
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]
Rollup - Next-generation ES module bundler
reverse-engineering - List of awesome reverse engineering resources
tsdx - Zero-config CLI for TypeScript package development
create-react-app - Set up a modern web app by running one command.