{"id":15062719,"url":"https://github.com/sheriffmoose/storybook-extras","last_synced_at":"2025-08-22T06:32:39.500Z","repository":{"id":65471467,"uuid":"591904296","full_name":"sheriffMoose/storybook-extras","owner":"sheriffMoose","description":"Storybook Extras Addons","archived":false,"fork":false,"pushed_at":"2024-11-26T10:03:21.000Z","size":31073,"stargazers_count":16,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-20T10:08:17.932Z","etag":null,"topics":["addon","angular","console","coverage","extras","markdown","openapi","storybook","storybook-addon","swagger","toolbars","variants"],"latest_commit_sha":null,"homepage":"https://master--63c1a45beed1a8f036a44e28.chromatic.com","language":"TypeScript","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/sheriffMoose.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["sheriffMoose"],"custom":["https://www.buymeacoffee.com/sheriffMoose","https://www.paypal.com/donate/?business=HWJQZLMP95WTC"]}},"created_at":"2023-01-22T09:43:26.000Z","updated_at":"2024-10-28T22:37:43.000Z","dependencies_parsed_at":"2024-06-19T19:02:53.563Z","dependency_job_id":"5b43bc46-440c-4315-a149-e4dd2b74e8bf","html_url":"https://github.com/sheriffMoose/storybook-extras","commit_stats":{"total_commits":469,"total_committers":3,"mean_commits":"156.33333333333334","dds":0.08315565031982941,"last_synced_commit":"ee84c0e4e9853d2d6b569b894ad3f00fe1151cf7"},"previous_names":[],"tags_count":97,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheriffMoose%2Fstorybook-extras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheriffMoose%2Fstorybook-extras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheriffMoose%2Fstorybook-extras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheriffMoose%2Fstorybook-extras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheriffMoose","download_url":"https://codeload.github.com/sheriffMoose/storybook-extras/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230568590,"owners_count":18246378,"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":["addon","angular","console","coverage","extras","markdown","openapi","storybook","storybook-addon","swagger","toolbars","variants"],"created_at":"2024-09-24T23:45:17.320Z","updated_at":"2024-12-20T10:08:24.859Z","avatar_url":"https://github.com/sheriffMoose.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sheriffMoose","https://www.buymeacoffee.com/sheriffMoose","https://www.paypal.com/donate/?business=HWJQZLMP95WTC"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" style=\"align:center;\"\u003e\n    \u003cimg src=\"https://github.com/sheriffMoose/storybook-extras/blob/master/logos/extras.svg?raw=true\" alt=\"logo\" width=\"200\" /\u003e\n    \u003ch1\u003eStorybook Extras\u003c/h1\u003e\n    \u003cp\u003eStorybook addons library with a bunch of useful features along with other nice-to-haves and definitely silly features.\u003c/p\u003e\n\n[![][badge.release]][link.release]\n[![][badge.license]][link.license]\n\n![][badge.node]\n![][badge.npm]\n[![][badge.storybook]][link.npm]\n\n[![][badge.banner]][link.npm]\n\n\u003c/div\u003e\n\n\u003ch2\u003eTable of Contents\u003c/h2\u003e\n\n- [Getting started](#getting-started)\n- [Demo](#demo)\n- [Addons](#addons)\n\n## Getting started\n\n1. Install the addon:\n\n```shell\nyarn add @storybook-extras/preset -D\n```\n\n2. Add the addon\n\n```ts\n// .storybook/main.ts\nimport { StorybookConfig } from '@storybook/angular';\nimport { ExtrasConfig } from '@storybook-extras/preset';\n\nconst config: StorybookConfig \u0026 ExtrasConfig = {\n    ...\n    \"addons\": [\n        \"@storybook-extras/preset\",\n        ...\n    ],\n    ...\n}\n\nexport default config;\n```\n\n3. To disable the built-in features, add the following to your `main.js`:\n\n```ts\n// .storybook/main.ts\nimport { StorybookConfig } from '@storybook/angular';\nimport { ExtrasConfig } from '@storybook-extras/preset';\n\nconst config: StorybookConfig \u0026 ExtrasConfig = {\n    ...\n    \"addons\": [\n        \"@storybook-extras/preset\",\n        ...\n    ],\n    ...\n    \"extras\": {\n        // disable Angular addon\n        // by default it will only be added ONLY if the `framework` is set to `@storybook/angular`\n        \"angular\": false,\n\n        // disable console logs\n        // further options are configurable in the `preview.js` file\n        // please see the `Console` addon docs for more info\n        \"console\": false,\n\n        // disable markdown/html docs\n        \"markdown\": false,\n        // set options for markdown/html docs\n        \"markdown\": {\n            \"includes\": path.join(process.cwd(), 'src'),\n            \"excludes\": [/\\.component.html$/], // exclude angular component html files\n        }\n\n        // disable swagger docs completely\n        \"swagger\": false,\n        // set openapi url for swagger docs\n        \"swagger\": {\n            \"stories\": [\n                {\n                    \"title\": \"Swagger UI\",\n                    \"url\": \"https://petstore.swagger.io/v2/swagger.json\"\n                }\n            ]\n        },\n\n    }\n}\n\nexport default config;\n```\n\n4. Refer to the sections below for the documentation of the respective addons.\n\n## Demo\n\nFind the published demo storybook on Chromatic [here](https://master--63c1a45beed1a8f036a44e28.chromatic.com/)\n\n## Addons\n\n|                                                                                                                               | Addon              | Description                                                    | Version                                      |                               |\n| ----------------------------------------------------------------------------------------------------------------------------- | ------------------ | -------------------------------------------------------------- | -------------------------------------------- | ----------------------------- |\n| \u003cimg src=\"https://raw.githubusercontent.com/sheriffMoose/storybook-extras/master/logos/extras.svg\" with=\"50\" height=\"50\" /\u003e   | Preset             | Storybook Extras                                               | [![addon.preset.img]][addon.preset.link]     | [Docs][addon.preset.readme]   |\n| \u003cimg src=\"https://raw.githubusercontent.com/sheriffMoose/storybook-extras/master/logos/angular.svg\" with=\"50\" height=\"50\" /\u003e  | Angular            | Extra features for Angular                                     | [![][addon.angular.img]][addon.angular.link] | [Docs][addon.angular.readme]  |\n| \u003cimg src=\"https://raw.githubusercontent.com/sheriffMoose/storybook-extras/master/logos/console.svg\" with=\"50\" height=\"50\" /\u003e  | Console Logs       | Display console logs in the storybook                          | [![addon.console.img]][addon.console.link]   | [Docs][addon.console.readme]  |\n| \u003cimg src=\"https://raw.githubusercontent.com/sheriffMoose/storybook-extras/master/logos/markdown.svg\" with=\"50\" height=\"50\" /\u003e | Markdown/HTML Docs | Display markdown/html docs in the storybook                    | [![addon.markdown.img]][addon.markdown.link] | [Docs][addon.markdown.readme]   |\n| \u003cimg src=\"https://raw.githubusercontent.com/sheriffMoose/storybook-extras/master/logos/swagger.svg\" with=\"50\" height=\"50\" /\u003e  | OpenAPI/Swagger UI | Display OpenAPI/Swagger UI in the storybook                    | [![addon.swagger.img]][addon.swagger.link]   | [Docs][addon.swagger.readme]  |\n| \u003cimg src=\"https://raw.githubusercontent.com/sheriffMoose/storybook-extras/master/logos/toolbars.svg\" with=\"50\" height=\"50\" /\u003e | Toolbar Buttons    | Makes adding a custom toolbar button a breathe                 | [![addon.toolbars.img]][addon.toolbars.link] | [Docs][addon.toolbars.readme] |\n| \u003cimg src=\"https://raw.githubusercontent.com/sheriffMoose/storybook-extras/master/logos/variants.svg\" with=\"50\" height=\"50\" /\u003e | Story Variants     | Display all variants of a story in one story page all together | [![addon.variants.img]][addon.variants.link] | [Docs][addon.variants.readme] |\n\n[addon.preset.img]: https://img.shields.io/npm/v/@storybook-extras/preset?label=\u0026color=FF4785\u0026style=for-the-badge\n[addon.preset.link]: https://www.npmjs.com/package/@storybook-extras/preset\n[addon.preset.readme]: https://github.com/sheriffMoose/storybook-extras/#readme\n[addon.angular.img]: https://img.shields.io/npm/v/@storybook-extras/angular?label=\u0026color=FF4785\u0026style=for-the-badge\n[addon.angular.link]: https://www.npmjs.com/package/@storybook-extras/angular\n[addon.angular.readme]: https://github.com/sheriffMoose/storybook-extras/tree/master/packages/angular#readme\n[addon.console.img]: https://img.shields.io/npm/v/@storybook-extras/console?label=\u0026color=FF4785\u0026style=for-the-badge\n[addon.console.link]: https://www.npmjs.com/package/@storybook-extras/console\n[addon.console.readme]: https://github.com/sheriffMoose/storybook-extras/tree/master/packages/console#readme\n[addon.markdown.img]: https://img.shields.io/npm/v/@storybook-extras/markdown?label=\u0026color=FF4785\u0026style=for-the-badge\n[addon.markdown.link]: https://www.npmjs.com/package/@storybook-extras/markdown\n[addon.markdown.readme]: https://github.com/sheriffMoose/storybook-extras/tree/master/packages/markdown#readme\n[addon.swagger.img]: https://img.shields.io/npm/v/@storybook-extras/swagger?label=\u0026color=FF4785\u0026style=for-the-badge\n[addon.swagger.link]: https://www.npmjs.com/package/@storybook-extras/swagger\n[addon.swagger.readme]: https://github.com/sheriffMoose/storybook-extras/tree/master/packages/swagger#readme\n[addon.toolbars.img]: https://img.shields.io/npm/v/@storybook-extras/toolbars?label=\u0026color=FF4785\u0026style=for-the-badge\n[addon.toolbars.link]: https://www.npmjs.com/package/@storybook-extras/toolbars\n[addon.toolbars.readme]: https://github.com/sheriffMoose/storybook-extras/tree/master/packages/toolbars#readme\n[addon.variants.img]: https://img.shields.io/npm/v/@storybook-extras/variants?label=\u0026color=FF4785\u0026style=for-the-badge\n[addon.variants.link]: https://www.npmjs.com/package/@storybook-extras/variants\n[addon.variants.readme]: https://github.com/sheriffMoose/storybook-extras/tree/master/packages/variants#readme\n[logo]: https://github.com/sheriffMoose/storybook-extras/blob/master/logos/extras.svg?raw=true\n[badge.release]: https://img.shields.io/github/actions/workflow/status/sheriffMoose/storybook-extras/release.yml?logo=github\u0026label=release\n[badge.license]: https://img.shields.io/github/license/sheriffMoose/storybook-extras?logo=github\n[badge.node]: https://img.shields.io/node/v/@storybook-extras/preset?logo=node.js\u0026logoColor=white\u0026labelColor=339933\u0026color=grey\u0026label=\n[badge.npm]: https://img.shields.io/npm/v/@storybook-extras/preset?logo=npm\u0026logoColor=white\u0026labelColor=CB3837\u0026color=grey\u0026label=\n[badge.storybook]: https://img.shields.io/npm/dependency-version/@storybook-extras/preset/dev/storybook?logo=storybook\u0026logoColor=white\u0026labelColor=FF4785\u0026color=grey\u0026label=\n[badge.banner]: https://nodei.co/npm/@storybook-extras/preset.png\n[link.release]: https://github.com/sheriffMoose/storybook-extras/actions/workflows/release.yml\n[link.license]: https://github.com/sheriffMoose/storybook-extras/blob/master/LICENSE\n[link.npm]: https://npmjs.org/package/@storybook-extras/preset\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheriffmoose%2Fstorybook-extras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheriffmoose%2Fstorybook-extras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheriffmoose%2Fstorybook-extras/lists"}