Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Complete Guide to Packaging Libraries

JSWORLD Conference via YouTube

Overview

Discover the intricacies of packaging and publishing open-source npm packages in this comprehensive conference talk from Vuejs Amsterdam 2023. Delve into topics such as creating a math library, implementing type safety, understanding ESM vs CJS, exporting multiple formats, utilizing build tools like tsup, handling special files, and simplifying various aspects of library development. Learn about exporting raw files for private packages and explore numerous essential rules for successful library packaging. Gain valuable insights to enhance your skills in creating and distributing JavaScript libraries effectively.

Syllabus

Intro
Overview
A math library
Add type safety
ESM vs CJS
Export both ESM and CJS
Multiple entries
Build tools
Specialized build tool (tsup)
Handle special files
Simplify type safety
Simplify ESM and CJS
Export raw for private packages
Many little rules
publint.dev

Taught by

JSWORLD Conference

Reviews

Start your review of The Complete Guide to Packaging Libraries

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.