GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Introduction
  • CommonJS and ESM
  • Introduction to package.json
  • Single-file package configurations
  • Single-file CommonJS package
  • Single-file ESM package
  • Multi-file package configurations
  • CommonJS and ESM interoperability
  • Shipping CommonJS for ESM
  • Shipping ESM for CommonJS
  • Migrating CommonJS to ESM
  • Migrating imports
  • Migrating exports
  • Migrating context-local variables

This view

  • Original page
  • New address

GeezerVison is showing nodejs.github.io — Introduction · Node.js package configuration guide

Introduction

This is a guide on how to configure a package for Node.js. We will cover the basics of package configuration, including how to structure your files, how to use the package.json file, and how to handle CommonJS and ECMAScript modules (ESM).

For each topic, we will provide examples and explanations to help you understand how to configure your package effectively. You can check out the repository of this guide for the complete code examples.

results matching ""

    No results matching ""

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.