{"_id":"@brpaz/plop-generator-util","_rev":"3-6e65b12da4c688bf97e9170313349ec8","name":"@brpaz/plop-generator-util","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.4":{"name":"@brpaz/plop-generator-util","version":"0.1.4","keywords":["plop","git","utils"],"author":{"name":"Bruno Paz"},"license":"MIT","_id":"@brpaz/plop-generator-util@0.1.4","maintainers":[{"name":"brpaz","email":"bruno@brunopaz.dev"}],"homepage":"https://github.com/brpaz/plop-generator-util#readme","bugs":{"url":"https://github.com/brpaz/plop-generator-util/issues"},"dist":{"shasum":"810e6ab0f3e59f1276b546dc12c8dc537bbe5f9e","tarball":"https://registry.npmjs.org/@brpaz/plop-generator-util/-/plop-generator-util-0.1.4.tgz","fileCount":7,"integrity":"sha512-Mvo7fuH1PrLT8SNKrIIteTaxopd/t09e4xrIqbi74Ebs3LyF0LpGljxRrBAGF5DlkxF3yKskAuEspgoOdbgu3g==","signatures":[{"sig":"MEUCIQCOGdoDTUkvytNshsMuECCBiEPdZ681t3PlhaEDU2lecQIgJJaq2Q2uLJ6ajSkP+vSGC8Ar+RveBnczgfJWral3nrI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5760},"main":"lib/index.js","type":"module","_from":"file:brpaz-plop-generator-util-0.1.4.tgz","exports":{".":"./lib/index.js"},"scripts":{"lint":"eslint .","test":"vitest","format":"prettier --write .","lint:fix":"eslint . --fix","format:check":"prettier --check ."},"_npmUser":{"name":"brpaz","email":"bruno@brunopaz.dev"},"_resolved":"/tmp/093ef14bd9a02ca48d5dcb96fed39a05/brpaz-plop-generator-util-0.1.4.tgz","_integrity":"sha512-Mvo7fuH1PrLT8SNKrIIteTaxopd/t09e4xrIqbi74Ebs3LyF0LpGljxRrBAGF5DlkxF3yKskAuEspgoOdbgu3g==","repository":{"url":"git+https://github.com/brpaz/plop-generator-util.git","type":"git"},"_npmVersion":"10.8.2","description":"A utility library containing utility functions for plop generators.","directories":{"lib":"lib"},"_nodeVersion":"20.19.1","dependencies":{"plop":"^4.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.25.1","vitest":"^3.1.2","globals":"^16.0.0","prettier":"3.5.3","@eslint/js":"^9.25.1","eslint-config-prettier":"^10.1.2"},"_npmOperationalInternal":{"tmp":"tmp/plop-generator-util_0.1.4_1746200456198_0.08365144495479049","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@brpaz/plop-generator-util","version":"0.1.5","keywords":["plop","git","utils"],"author":{"name":"Bruno Paz"},"license":"MIT","_id":"@brpaz/plop-generator-util@0.1.5","maintainers":[{"name":"brpaz","email":"bruno@brunopaz.dev"}],"homepage":"https://github.com/brpaz/plop-generator-util#readme","bugs":{"url":"https://github.com/brpaz/plop-generator-util/issues"},"dist":{"shasum":"5e60adaefe66f888c46b6c56045c6682a8f6385a","tarball":"https://registry.npmjs.org/@brpaz/plop-generator-util/-/plop-generator-util-0.1.5.tgz","fileCount":7,"integrity":"sha512-LqUadHlwDJor79E1JX2pkYc9T//Q5axQAyu7o8Z8pzop6rp3QnVxU5KyVQhtQE1ITJe1EPV0qrVvBLqbXJKdVw==","signatures":[{"sig":"MEYCIQD7O6GUUIO4yxhoyUp7yL+FpBo7zCToCqYMfdbDXlnCswIhAOlZenaEWPtrrgEUImsz77H3SDGdTKHJQA3wPkUaJkxm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5806},"main":"lib/index.js","type":"module","_from":"file:brpaz-plop-generator-util-0.1.5.tgz","exports":{".":"./lib/index.js","./prompts.js":"./lib/prompts.js"},"scripts":{"lint":"eslint .","test":"vitest","format":"prettier --write .","lint:fix":"eslint . --fix","format:check":"prettier --check ."},"_npmUser":{"name":"brpaz","email":"bruno@brunopaz.dev"},"_resolved":"/tmp/5ccff82ec7f596a306998e46289eb98e/brpaz-plop-generator-util-0.1.5.tgz","_integrity":"sha512-LqUadHlwDJor79E1JX2pkYc9T//Q5axQAyu7o8Z8pzop6rp3QnVxU5KyVQhtQE1ITJe1EPV0qrVvBLqbXJKdVw==","repository":{"url":"git+https://github.com/brpaz/plop-generator-util.git","type":"git"},"_npmVersion":"10.8.2","description":"A utility library containing utility functions for plop generators.","directories":{"lib":"lib"},"_nodeVersion":"20.19.1","dependencies":{"plop":"^4.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.25.1","vitest":"^3.1.2","globals":"^16.0.0","prettier":"3.5.3","@eslint/js":"^9.25.1","eslint-config-prettier":"^10.1.2"},"_npmOperationalInternal":{"tmp":"tmp/plop-generator-util_0.1.5_1746202100055_0.14676408818723496","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@brpaz/plop-generator-util","version":"0.1.6","description":"A utility library containing utility functions for plop generators.","type":"module","repository":{"type":"git","url":"git+https://github.com/brpaz/plop-generator-util.git"},"main":"lib/index.js","exports":{".":"./lib/index.js","./prompts.js":"./lib/prompts.js"},"publishConfig":{"access":"public"},"keywords":["plop","git","utils"],"author":{"name":"Bruno Paz"},"license":"MIT","dependencies":{"plop":"^4.0.1"},"devDependencies":{"@eslint/js":"^9.25.1","eslint":"^9.25.1","eslint-config-prettier":"^10.1.2","globals":"^16.0.0","prettier":"3.5.3","vitest":"^3.1.2"},"directories":{"lib":"lib"},"bugs":{"url":"https://github.com/brpaz/plop-generator-util/issues"},"homepage":"https://github.com/brpaz/plop-generator-util#readme","scripts":{"test":"vitest","lint":"eslint .","lint:fix":"eslint . --fix","format":"prettier --write .","format:check":"prettier --check ."},"_id":"@brpaz/plop-generator-util@0.1.6","_integrity":"sha512-BWV2xhoxP8izwgl70QeTVSQrBDLmgRgxSRCymruBBuKbDrF+69ikqmLtN2tGWmfAA7qCvrwsTOzcAVkvzHTjSg==","_resolved":"/tmp/3de7ec3b0ff651c50c0e91f9d8f2d93e/brpaz-plop-generator-util-0.1.6.tgz","_from":"file:brpaz-plop-generator-util-0.1.6.tgz","_nodeVersion":"20.19.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-BWV2xhoxP8izwgl70QeTVSQrBDLmgRgxSRCymruBBuKbDrF+69ikqmLtN2tGWmfAA7qCvrwsTOzcAVkvzHTjSg==","shasum":"d7d096064c1fb5d033c9212b7d88b107852092c4","tarball":"https://registry.npmjs.org/@brpaz/plop-generator-util/-/plop-generator-util-0.1.6.tgz","fileCount":7,"unpackedSize":6762,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAWXfnz07R3VVkRW6ahVc+QHonDtqJuKG5KiJ/x2jXzlAiEA6OE7nwnscyUiBzkpup3s9Zk0hS9yQI5EnrEZp4E82RY="}]},"_npmUser":{"name":"brpaz","email":"bruno@brunopaz.dev"},"maintainers":[{"name":"brpaz","email":"bruno@brunopaz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plop-generator-util_0.1.6_1746203055918_0.4531447209379065"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-02T15:40:56.078Z","modified":"2025-05-02T16:24:16.322Z","0.1.4":"2025-05-02T15:40:56.429Z","0.1.5":"2025-05-02T16:08:20.231Z","0.1.6":"2025-05-02T16:24:16.131Z"},"bugs":{"url":"https://github.com/brpaz/plop-generator-util/issues"},"author":{"name":"Bruno Paz"},"license":"MIT","homepage":"https://github.com/brpaz/plop-generator-util#readme","keywords":["plop","git","utils"],"repository":{"type":"git","url":"git+https://github.com/brpaz/plop-generator-util.git"},"description":"A utility library containing utility functions for plop generators.","maintainers":[{"name":"brpaz","email":"bruno@brunopaz.dev"}],"readme":"# Plop generator utils\n\n> Utility functions for using with [https://plopjs.com/]\n\n## Getting started\n\n### Install\n\n```sh\nnpm i -g @brpaz/plop-generator-utils\n```\n\n### Usage\n\nAdd to your `plopfile.js`\n\n```js\nimport { projectName, projectDescription, projectUrl } from '@brpaz/plop-generator-util/prompts.js';\n\nexport default function (\n    /** @type {import('plop').NodePlopAPI} */\n    plop\n) {\n    plop.setGenerator('template', {\n        prompts: [\n            projectName(),\n            projectDescription(),\n            projectUrl(),\n        ],\n        actions: () => {\n\n        }\n    });\n}\n```\n\n#### Available functions\n\n## Available Prompt Functions\n\n| Function             | Description                         |\n| -------------------- | ----------------------------------- |\n| `projectName`        | Prompts for the project name        |\n| `projectDescription` | Prompts for the project description |\n| `projectUrl`         | Prompts for the project URL         |\n| `authorName`         | Prompts for the author's name       |\n| `authorEmail`        | Prompts for the author's email      |\n| `repoSlug`           | Prompts for the repository slug     |\n| `repoUrl`            | Prompts for the repository URL      |\n\n\n\n","readmeFilename":"README.md"}