{"_id":"@atul005/library-poc","name":"@atul005/library-poc","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@atul005/library-poc","version":"1.0.1","description":"A simple file upload library","main":"dist/index.js","scripts":{"build":"rollup -c","test":"echo \"No tests specified\" && exit 0","prepublishOnly":"npm run build"},"keywords":["file","upload","library"],"author":{"name":"Your Name"},"license":"MIT","dependencies":{"react":"^17.0.0","react-dom":"^17.0.0"},"devDependencies":{"@babel/core":"^7.26.10","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.26.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^25.0.8","@rollup/plugin-node-resolve":"^15.0.0","@rollup/plugin-terser":"^0.4.4","rollup":"^2.0.0"},"_id":"@atul005/library-poc@1.0.1","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-wLb0uoeUjCaVqkKtUixbukz5xDuneYCx/5j8ODzeNhLBlqLtCgDNO9pMjv4L7SPLIJgAQe2SQqaYrqPxhrrKng==","shasum":"d852e32d2ec0fe2f1e338f335059dd23d4f3baf6","tarball":"https://registry.npmjs.org/@atul005/library-poc/-/library-poc-1.0.1.tgz","fileCount":11,"unpackedSize":309185,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEU0UKh56fZZNVxOZiKRQbt3nxxHM+f1Wz1E00FAOD7CAiA4eNHPkX9P730d0B7tpjS0WSv/p1F8YH8A+myDXPksxg=="}]},"_npmUser":{"name":"atul005","email":"atul.sarvagram@gmail.com"},"directories":{},"maintainers":[{"name":"atul005","email":"atul.sarvagram@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/library-poc_1.0.1_1744802677424_0.09710940069684049"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-16T11:24:37.334Z","1.0.1":"2025-04-16T11:24:37.617Z","modified":"2025-04-16T11:24:37.861Z"},"maintainers":[{"name":"atul005","email":"atul.sarvagram@gmail.com"}],"description":"A simple file upload library","keywords":["file","upload","library"],"author":{"name":"Your Name"},"license":"MIT","readme":"# File Upload Library\n\nThis library provides a simple file upload button component that can be easily integrated into your React applications.\n\n## Installation\n\nTo install the library, you can use the Nexus package manager. Run the following command:\n\n```\nnexus install file-upload-library\n```\n\n## Usage\n\nTo use the `UploadButton` component in your React application, follow these steps:\n\n1. Import the component:\n\n```javascript\nimport { UploadButton } from 'file-upload-library';\n```\n\n2. Use the component in your JSX:\n\n```javascript\nfunction App() {\n  const handleFileUpload = (file) => {\n    // Handle the file upload logic here\n    console.log('File uploaded:', file);\n  };\n\n  return (\n    <div>\n      <h1>File Upload Example</h1>\n      <UploadButton onUpload={handleFileUpload} />\n    </div>\n  );\n}\n```\n\n## Component Props\n\nThe `UploadButton` component accepts the following props:\n\n- `onUpload`: A function that is called when a file is successfully uploaded. It receives the uploaded file as an argument.\n\n## Contributing\n\nContributions are welcome! Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes and commit them.\n4. Push your branch to your forked repository.\n5. Create a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for more details.","readmeFilename":"README.md","_rev":"1-3230e93e71410549c3cfda704727daff"}