pkg VS parcel

Compare pkg vs parcel and see what are their differences.

pkg

Package your Node.js project into an executable (by vercel)

parcel

The zero configuration build tool for the web. 📦🚀 (by parcel-bundler)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale.
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
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of pkg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-28.

parcel

Posts with mentions or reviews of parcel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-05.
  • Django and Tailwind
    3 projects | reddit.com/r/django | 5 Feb 2023
    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
    4 projects | reddit.com/r/javascript | 7 Jan 2023
    It's a React application written in TypeScript using Parcel.
  • Show HN: Hindsight is a free and open-source retrospective board
    3 projects | news.ycombinator.com | 7 Jan 2023
    - Data export.

    Feel free to leave feedback here or on GitHub[3]. Perhaps it could be helpful to you as well. Cheers!

    1. https://parceljs.org/

  • Setting up a custom toolchain
    11 projects | reddit.com/r/reactjs | 26 Dec 2022
    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
    12 projects | dev.to | 28 Nov 2022
    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
    54 projects | dev.to | 23 Nov 2022
    Parcel
  • Getting Started With Parcel.js: A Web Application Bundler in 2022
    7 projects | dev.to | 2 Nov 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).
    7 projects | dev.to | 2 Nov 2022
    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
    21 projects | news.ycombinator.com | 25 Oct 2022
    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.

    [1] https://parceljs.org/

    [2] https://parceljs.org/getting-started/library/

    [3] https://parceljs.org/getting-started/webapp/

    21 projects | news.ycombinator.com | 25 Oct 2022
    > 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?

When comparing pkg and parcel you can also consider the following projects:

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.