{"id":13809749,"url":"https://github.com/joshnuss/prisma-database-cleaner","last_synced_at":"2025-06-23T01:06:07.253Z","repository":{"id":60375955,"uuid":"542380952","full_name":"joshnuss/prisma-database-cleaner","owner":"joshnuss","description":"Utility for cleaning Prisma databases between test runs","archived":false,"fork":false,"pushed_at":"2022-10-26T06:13:34.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-14T16:52:42.582Z","etag":null,"topics":["prisma","testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshnuss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-28T02:51:58.000Z","updated_at":"2023-11-21T17:38:22.000Z","dependencies_parsed_at":"2023-01-20T11:50:24.808Z","dependency_job_id":null,"html_url":"https://github.com/joshnuss/prisma-database-cleaner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshnuss/prisma-database-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fprisma-database-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fprisma-database-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fprisma-database-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fprisma-database-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshnuss","download_url":"https://codeload.github.com/joshnuss/prisma-database-cleaner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fprisma-database-cleaner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261392148,"owners_count":23151715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prisma","testing"],"created_at":"2024-08-04T02:00:35.483Z","updated_at":"2025-06-23T01:06:02.172Z","avatar_url":"https://github.com/joshnuss.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"prisma-database-cleaner\n-----------------------\n\nUtility for cleaning your Prisma database between test runs.\n\nExtracted from [Sky Cart](https://github.com/joshnuss/sky-cart)\n\n## Setup\n\n```sh\npnpm install -D prisma-database-cleaner\n```\n\n## Usage\n\nCall `truncateAll()` before each test run.\n\n```javascript\nimport { truncateAll } from 'prisma-database-cleaner'\n\nbeforeEach(truncateAll)\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshnuss%2Fprisma-database-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshnuss%2Fprisma-database-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshnuss%2Fprisma-database-cleaner/lists"}