{"id":21404161,"url":"https://github.com/pedroo-nietoo/prisma-schema-docs","last_synced_at":"2026-01-02T19:36:09.197Z","repository":{"id":261487209,"uuid":"884458702","full_name":"Pedroo-Nietoo/Prisma-Schema-Docs","owner":"Pedroo-Nietoo","description":"A Prisma docs generator based on schema files","archived":false,"fork":false,"pushed_at":"2024-11-25T15:32:44.000Z","size":442,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T03:30:22.402Z","etag":null,"topics":["docs","documentation","html","markdown","prisma","schema"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/prisma-schema-docs","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pedroo-Nietoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-06T19:38:41.000Z","updated_at":"2024-11-25T15:44:17.000Z","dependencies_parsed_at":"2025-01-23T03:29:11.079Z","dependency_job_id":"549855bc-3e4c-4c4e-af17-3d385090b674","html_url":"https://github.com/Pedroo-Nietoo/Prisma-Schema-Docs","commit_stats":null,"previous_names":["pedroo-nietoo/prisma-schema-docs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pedroo-Nietoo%2FPrisma-Schema-Docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pedroo-Nietoo%2FPrisma-Schema-Docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pedroo-Nietoo%2FPrisma-Schema-Docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pedroo-Nietoo%2FPrisma-Schema-Docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pedroo-Nietoo","download_url":"https://codeload.github.com/Pedroo-Nietoo/Prisma-Schema-Docs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902055,"owners_count":20366256,"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":["docs","documentation","html","markdown","prisma","schema"],"created_at":"2024-11-22T16:13:15.260Z","updated_at":"2026-01-02T19:36:09.158Z","avatar_url":"https://github.com/Pedroo-Nietoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prisma Schema Docs\n\n![Project Banner](https://raw.githubusercontent.com/Pedroo-Nietoo/Prisma-Schema-Docs/main/images/project_image.png)\n\n## Overview\n\nThe `prisma-schema-docs` is a simple command-line tool that generates HTML documentation for your Prisma schema files. This package reads your `schema.prisma` file and produces an easy-to-read documentation format for your models and their fields, including attributes like `@id`, `@unique`, `@default`, and `@relation`.\n\n\n\u003cbr\u003e\n\n## Usage\n\n### Installation\n\nTo install `prisma-schema-docs`, use npm:\n\n```bash\nnpm install prisma-schema-docs\n```\n\nOr, if you prefer to install it globally:\n\n```bash\nnpm install -g prisma-schema-docs\n```\n\n### Generating Documentation\nOnce installed, you can generate documentation by running the following command:\n\n```bash\nnpx prisma-schema-docs\n```\n\nOr, if you prefer to generate the documentation on dark mode:\n\n```bash\nnpx prisma-schema-docs -d\n```\n\nThis will create an `index.html` file in the `docs` directory, containing the generated documentation from your `prisma/schema.prisma`.\n\nTo use `prisma-schema-docs`, ensure you have a `schema.prisma` file in the `prisma` directory of your project. The command will look for the schema file and generate the documentation based on its content.\n\n\u003cbr\u003e\n\n## Contributing\nContributions are welcome! If you would like to contribute, please fork the repository, add your changes, and submit a pull request. Please ensure your code adheres to the project's coding standards and includes tests. Make sure to send a detailed description of your changes and why you made them, as long as a image/gif/video that shows the changes.\n\n\u003cbr\u003e\n\n## Testing\nTo run tests for the package, you can use Jest. First, ensure you have installed the dependencies, then run:\n\n```bash\nnpm test\n```\n\n\u003cbr\u003e\n\n## License\nThis package is licensed under the MIT License. See the LICENSE file for more details.\n\n\n© 2024 [Pedroo-Nietoo](https://github.com/Pedroo-Nietoo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroo-nietoo%2Fprisma-schema-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedroo-nietoo%2Fprisma-schema-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroo-nietoo%2Fprisma-schema-docs/lists"}