Skip to content

Glossary: Data Structures and Algorithms in JavaScript

package.json

A settings file for a Node.js project. Containing `{ "type": "module" }`, it tells Node to treat `.js` files as ES modules so `import` and `export` work.

Where the book teaches it

Related terms

ES modulesNode.js