{"id":13531368,"url":"https://github.com/bradgarropy/plop-generator-react-context","last_synced_at":"2025-07-11T16:13:38.185Z","repository":{"id":93266020,"uuid":"408941264","full_name":"bradgarropy/plop-generator-react-context","owner":"bradgarropy","description":"A plop generator for React context.","archived":false,"fork":false,"pushed_at":"2024-01-03T20:32:29.000Z","size":495,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-02T14:16:53.343Z","etag":null,"topics":["context","eslint","jest","node","plop","plop-generator","plop-pack","prettier","react","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@bradgarropy/plop-generator-react-context","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/bradgarropy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","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},"funding":{"github":"bradgarropy"}},"created_at":"2021-09-21T19:01:04.000Z","updated_at":"2023-10-22T14:13:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"876c7e78-e897-4b76-bc37-5a4c375dc9d7","html_url":"https://github.com/bradgarropy/plop-generator-react-context","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bradgarropy/plop-generator-react-context","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fplop-generator-react-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fplop-generator-react-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fplop-generator-react-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fplop-generator-react-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradgarropy","download_url":"https://codeload.github.com/bradgarropy/plop-generator-react-context/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradgarropy%2Fplop-generator-react-context/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264850855,"owners_count":23673232,"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":["context","eslint","jest","node","plop","plop-generator","plop-pack","prettier","react","typescript"],"created_at":"2024-08-01T07:01:02.417Z","updated_at":"2025-07-11T16:13:38.179Z","avatar_url":"https://github.com/bradgarropy.png","language":"TypeScript","funding_links":["https://github.com/sponsors/bradgarropy"],"categories":["Generators"],"sub_categories":[],"readme":"# 💧 plop generator react context\n\n[![version][version-badge]][npm]\n[![downloads][downloads-badge]][npm]\n[![size][size-badge]][bundlephobia]\n[![github actions][github-actions-badge]][github-actions]\n[![coverage][codecov-badge]][codecov]\n[![typescript][typescript-badge]][typescript]\n[![contributing][contributing-badge]][contributing]\n[![contributors][contributors-badge]][contributors]\n[![discord][discord-badge]][discord]\n\n_A [`plop`][plop] generator for [`react`][react] context._\n\n## 📦 Installation\n\nThis package is hosted on [`npm`][npm].\n\n```bash\nnpm install --save-dev @bradgarropy/plop-generator-react-context\n```\n\n## 🥑 Usage\n\nFirst, be sure you have [`plop`][plop] installed. Then, add the following line to your `plopfile.js`.\n\n```javascript\nplop.load(\"@bradgarropy/plop-generator-react-context\")\n```\n\nNow you'll have access to the `context` generator as shown below.\n\n```bash\nplop context\n```\n\nThe `context` generator scaffolds a new context, including a consumer hook, and adds it to the `index.ts` file for easy importing. The resulting directory looks like this for a context named `App`.\n\n```text\nsrc\n└── context\n   ├── App.tsx\n   └── index.ts\n```\n\n## ❔ Questions\n\n🐛 report bugs by filing [issues][issues]  \n📢 provide feedback with [issues][issues] or on [twitter][twitter]  \n🙋🏼‍♂️ use my [ama][ama] or [twitter][twitter] to ask any other questions\n\n## ✨ contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://bradgarropy.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/11336745?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eBrad Garropy\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/bradgarropy/plop-generator-react-context/commits?author=bradgarropy\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/bradgarropy/plop-generator-react-context/commits?author=bradgarropy\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/bradgarropy/plop-generator-react-context/commits?author=bradgarropy\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"#infra-bradgarropy\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n[codecov]: https://app.codecov.io/gh/bradgarropy/plop-generator-react-context\n[contributing]: https://github.com/bradgarropy/plop-generator-react-context/blob/master/contributing.md\n[contributors]: #-contributors\n[npm]: https://www.npmjs.com/package/@bradgarropy/plop-generator-react-context\n[codecov-badge]: https://img.shields.io/codecov/c/github/bradgarropy/plop-generator-react-context?style=flat-square\n[version-badge]: https://img.shields.io/npm/v/@bradgarropy/plop-generator-react-context.svg?style=flat-square\n[downloads-badge]: https://img.shields.io/npm/dt/@bradgarropy/plop-generator-react-context?style=flat-square\n[contributing-badge]: https://img.shields.io/badge/PRs-welcome-success?style=flat-square\n[contributors-badge]: https://img.shields.io/github/all-contributors/bradgarropy/plop-generator-react-context?style=flat-square\n[issues]: https://github.com/bradgarropy/plop-generator-react-context/issues\n[twitter]: https://twitter.com/bradgarropy\n[ama]: https://bradgarropy.com/ama\n[bundlephobia]: https://bundlephobia.com/result?p=@bradgarropy/plop-generator-react-context\n[size-badge]: https://img.shields.io/bundlephobia/minzip/@bradgarropy/plop-generator-react-context?style=flat-square\n[github-actions]: https://github.com/bradgarropy/plop-generator-react-context/actions\n[github-actions-badge]: https://img.shields.io/github/workflow/status/bradgarropy/plop-generator-react-context/%F0%9F%9A%80%20release?style=flat-square\n[typescript]: https://www.typescriptlang.org/dt/search?search=%40bradgarropy%2Fplop-generator-react-context\n[typescript-badge]: https://img.shields.io/npm/types/@bradgarropy/plop-generator-react-context?style=flat-square\n[discord]: https://bradgarropy.com/discord\n[discord-badge]: https://img.shields.io/discord/748196643140010015?style=flat-square\n[plop]: https://plopjs.com\n[react]: https://reactjs.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradgarropy%2Fplop-generator-react-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradgarropy%2Fplop-generator-react-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradgarropy%2Fplop-generator-react-context/lists"}