DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Node.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Node.js
What does the 'exports' field in package.json provide, beyond what 'main' alone offers?
A
Nothing additional
B
Precise control over exactly which files consumers can import/require, and which module system (ESM vs CJS) they get for each
C
It only affects TypeScript projects
D
It replaces the need for a version number
Check Answer