{"_id":"@dancingparakeet/word-weaver","_rev":"1-a6702d3cc752f00990b18e052956931a","name":"@dancingparakeet/word-weaver","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@dancingparakeet/word-weaver","version":"1.0.0","_id":"@dancingparakeet/word-weaver@1.0.0","maintainers":[{"name":"dancingparakeet","email":"rivenlocke+npm@protonmail.com"}],"dist":{"shasum":"ef0bc2c29949338ce1d496186a279df3c2e9461f","tarball":"https://registry.npmjs.org/@dancingparakeet/word-weaver/-/word-weaver-1.0.0.tgz","fileCount":8,"integrity":"sha512-93k79iXhsAuIWl0+nTe8nlrsPREzVJWn2bek8C+txtHqS8RUkxGw4Lvo4UpBBRdREhS1PxvgcRX5+Qe+iOF3Xg==","signatures":[{"sig":"MEUCIBKSGlmK1mpW/Z2n+tb0PJWwMzT/yE8+bsYCefY4b7qpAiEA11T0w60ZeCy74slA33L8wyKUogUASxqtd10jG9NpVbA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9281},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"dancingparakeet","email":"rivenlocke+npm@protonmail.com"},"_npmVersion":"10.8.2","description":"A word generator component","directories":{},"_nodeVersion":"22.7.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/word-weaver_1.0.0_1724610241489_0.6158781505043573","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@dancingparakeet/word-weaver","version":"1.0.1","description":"A word generator component","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0"},"_id":"@dancingparakeet/word-weaver@1.0.1","_nodeVersion":"22.7.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-2A8S15Ll8Q6yw21Eifww+t2o6vP6INwj2aTFEKDYzqyzeMdm0S70GF86d1dFtXhfli/sjkyhsRw2AuIXuTc6tA==","shasum":"ca1e71bb7da31513f843b6255e3c3ed2553f7f41","tarball":"https://registry.npmjs.org/@dancingparakeet/word-weaver/-/word-weaver-1.0.1.tgz","fileCount":8,"unpackedSize":9261,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRDX+60eTSdmO5T5VEOM+zNhy6LoaZwNL+dqNV4wMA4wIgZLarf0ol870rvoi5wjuwIldFiBaEEqp/1KpjwfIcHlo="}]},"_npmUser":{"name":"dancingparakeet","email":"rivenlocke+npm@protonmail.com"},"directories":{},"maintainers":[{"name":"dancingparakeet","email":"rivenlocke+npm@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/word-weaver_1.0.1_1724610294989_0.8336290433446572"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-25T18:24:01.382Z","modified":"2024-08-25T18:24:55.357Z","1.0.0":"2024-08-25T18:24:01.646Z","1.0.1":"2024-08-25T18:24:55.205Z"},"description":"A word generator component","maintainers":[{"name":"dancingparakeet","email":"rivenlocke+npm@protonmail.com"}],"readme":"# Word Weaver\n\n[![npm version](https://badge.fury.io/js/%40dancingparakeet%2Fword-weaver.svg)](https://badge.fury.io/js/%40dancingparakeet%2Fword-weaver)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![React](https://img.shields.io/badge/React-17.0.0%2B-blue.svg)](https://reactjs.org/)\n\nA minimal React component to generate cool names for demo projects, throwaway accounts, containers, and anything really!\n\n## Installation\n\n```bash\nnpm install @dancingparakeet/word-weaver\n# or\nyarn add @dancingparakeet/word-weaver\n```\n\n## Usage Example\n\n```bash\n\nimport React from 'react';\nimport WordWeaver from '@dancingparakeey/word-weaver';\n\nconst CustomWordGenerator = () => {\n    const customGenerate = () => {\n        // Custom word generation logic\n        console.log('Custom generate logic called');\n    };\n\n    const handleCustomWordGenerated = (word) => {\n        console.log('Custom generated word:', word);\n    };\n\n    return (\n        <div>\n            <h2>Custom Word Generator</h2>\n            <WordWeaver generate={customGenerate} onWordGenerated={handleCustomWordGenerated} />\n        </div>\n    );\n};\n\nexport default CustomWordGenerator;\n```\n## Props \n\n\n| Prop | Type | Description |\n| ------------- | ------------- | --------- |\n| `generate` | `() => void`  | Optional custom function to generate a word|\n| `onWordGenerated`  | `() => void`  | Callback function called with the generated word|\n\n\n## Author\n\nMade with 💖 by dancingparakeet\n\nGitHub: @dancingparakeet\n\n## License \n\nThis project is licensed under the MIT License \nFeel free to use this code wherever you'd like \n\n","readmeFilename":"readMe.md"}