{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/miragejs/","markdown":"https://findsoftware.frbit.cloud/miragejs.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"miragejs","name":"Mirage JS","urls":{"home":"https://miragejs.com/","repository":"https://github.com/miragejs/miragejs","docs":"https://miragejs.com/docs/getting-started/introduction/"},"category":["testing"],"description":"API mocking library that intercepts a JavaScript app's network requests so the app can run without its backend.","maintainer":"Sam Selikoff","firstRelease":2019,"hosting":null,"language":"javascript","runtime":["node"],"runtimeMin":null,"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"npm","licenseModel":"open-source","license":"MIT","currentMajor":"0","latestReleaseDate":"2023-10-30T00:00:00.000Z","githubStargazers":5525,"contributors":170,"packagistDownloads":null,"npmWeeklyDownloads":393479,"dependentRepos":4395,"dependentPackages":157,"social":{"x":"https://twitter.com/miragejs","discord":"https://discord.gg/pPsdsrn"},"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://miragejs.com/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/miragejs/miragejs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://miragejs.com/docs/getting-started/introduction/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/miragejs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://miragejs.com/docs/about/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/miragejs/miragejs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://miragejs.com/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://miragejs.com/docs/comparison-with-other-tools/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://miragejs.com/docs/getting-started/installation/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/miragejs/miragejs/blob/v0.1.48/LICENSE.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/miragejs/miragejs/blob/v0.1.48/LICENSE.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/miragejs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/miragejs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/miragejs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/miragejs/miragejs/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/miragejs/miragejs/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/miragejs/miragejs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/miragejs/miragejs/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"Mirage JS gives frontend developers a fake server that runs beside the app in the browser. It intercepts the network requests the app makes and answers them from route handlers the developer defines, with a database and factories for test data. It is installed from npm, and Sam Selikoff maintains it. The [introduction](https://miragejs.com/docs/getting-started/introduction/) explains how the library fits into a frontend project. Mirage began as an Ember addon, and its core was later extracted into this standalone package.\n\n## Worth knowing\n\nMirage resets its state on every browser reload, and it can use localStorage for temporary persistence. Under Node.js it runs only in a browser-like environment such as jsdom, and it cannot yet mock a React app's server-side API requests."}