Socket
Socket
Sign inDemoInstall

parcel

Package Overview
Dependencies
Maintainers
1
Versions
894
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parcel

Blazing fast, zero configuration web application bundler


Version published
Maintainers
1
Created

What is parcel?

Parcel is a web application bundler, differentiated by its zero configuration setup and fast performance. It supports a wide range of file types out of the box and provides features like hot module replacement, code splitting, and tree shaking.

What are parcel's main functionalities?

Zero Configuration

Parcel requires no configuration to get started. You can simply point it to your entry file, and it will automatically detect and bundle all dependencies.

npx parcel index.html

Hot Module Replacement

Parcel supports Hot Module Replacement (HMR), which allows you to see changes in your application without a full reload. This is particularly useful for development as it speeds up the feedback loop.

npx parcel index.html --hmr

Code Splitting

Parcel supports code splitting, which allows you to split your code into smaller chunks that can be loaded on demand. This can improve the performance of your application by reducing the initial load time.

import('module').then(module => { /* use module */ });

Tree Shaking

Parcel automatically removes unused code from your final bundle through a process called tree shaking. This helps to reduce the size of your final bundle.

import { usedFunction } from 'module';

Other packages similar to parcel

FAQs

Package last updated on 28 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc