{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/loki/","markdown":"https://findsoftware.frbit.cloud/loki.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":"loki","name":"Loki","urls":{"home":"https://loki.js.org/","repository":"https://github.com/oblador/loki","docs":"https://loki.js.org/getting-started.html"},"category":["testing"],"description":"Visual regression testing tool that screenshots Storybook stories and compares them with reference images.","maintainer":"Joel Arvidsson","maintainerType":"individual","firstRelease":2017,"hosting":null,"language":"javascript","runtime":["node"],"runtimeMin":null,"basedOn":["storybook"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":["local"],"renderingModes":null,"installMethod":"yarn add loki --dev, then yarn loki init","licenseModel":"open-source","license":"MIT","currentMajor":"0","latestReleaseDate":"2024-08-27T00:00:00.000Z","githubStargazers":1915,"contributors":62,"packagistDownloads":null,"npmWeeklyDownloads":27338,"dependentRepos":315,"dependentPackages":137,"checkedAt":"2026-10-28T00:00:00.000Z","addedAt":"2026-10-28T00:00:00.000Z","sources":[{"field":"urls","url":"https://loki.js.org/","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/oblador/loki","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://loki.js.org/getting-started.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/oblador/loki/blob/master/LICENSE","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/oblador/loki","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"category","url":"https://github.com/oblador/loki/blob/master/packages/loki/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"basedOn","url":"https://github.com/oblador/loki/blob/master/packages/loki/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtime","url":"https://loki.js.org/getting-started.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://loki.js.org/getting-started.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runsAs","url":"https://loki.js.org/continuous-integration.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/oblador/loki","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/oblador/loki/blob/master/LICENSE","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/loki","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/oblador/loki/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/oblador/loki/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/oblador/loki","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/oblador/loki/contributors","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/loki","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/loki","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/loki","checkedAt":"2026-10-28T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"Loki is a visual regression tester for Storybook stories. It captures a screenshot of each story and compares it with reference images that are checked into the project's git repository. It runs on Node and is added to a project with a package manager.\n\nLoki does not start any servers, so the Storybook it tests has to be available when the tests run. The [continuous integration guide](https://loki.js.org/continuous-integration.html) describes it as built to run on a CI server. It renders stories with Chrome, either in Docker or as a local application, and the README also lists Chrome in AWS Lambda.\n\n## Worth knowing\n\nThe Docker target needs Docker, the local Chrome target needs a Chrome installation, and the gm diffing engine needs GraphicsMagick."}