Skip to content

Glossary: Software Design Patterns in JavaScript

Repository

Also written: repo

An object that stores and finds things for the rest of the code, so nothing else knows how they're stored. MemoryRepo has nextId, save and all.

Where the book teaches it

Related terms

Dependency injectionFake