{"_id":"@anup22/react-native-font-list","name":"@anup22/react-native-font-list","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"name":"@anup22/react-native-font-list","title":"React Native Font List","version":"1.0.2","description":"TODO","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/anup-a/react-native-font-list.git","baseUrl":"https://github.com/anup-a/react-native-font-list"},"keywords":["react-native"],"author":{"name":"Anup","email":"aglawe.anup22@gmail.com"},"license":"MIT","licenseFilename":"LICENSE","peerDependencies":{"react-native":">=0.59.0-rc.0 <1.0.x"},"devDependencies":{"react":"^16.8.3","react-native":"^0.59.10"},"bugs":{"url":"https://github.com/anup-a/react-native-font-list/issues"},"homepage":"https://github.com/anup-a/react-native-font-list#readme","gitHead":"ac74dfffe88c133038e4ca9bc24c4e2dcd618f70","_id":"@anup22/react-native-font-list@1.0.2","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-Oo/yVjFoHL8l/40mooDVWvDLB2etLxU6MzugQMcPPTcYB5iSAwmmco+cSpPxCIEFqxyFfRvCSM0b1E6UWbU6Mg==","shasum":"7831f514e238901693498413f173d2aa16711fee","tarball":"https://registry.npmjs.org/@anup22/react-native-font-list/-/react-native-font-list-1.0.2.tgz","fileCount":15,"unpackedSize":19209,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRL38Kty7C5yakgQ2XnofQbpEO+xcBgPKrjIMXSB3lyAiEAwQ0nVg1/u01oDnrX1RCbmGBwqB+ucYve17fIjwJhQ8o="}]},"_npmUser":{"name":"anup22","email":"aglawe.anup22@gmail.com"},"directories":{},"maintainers":[{"name":"anup22","email":"aglawe.anup22@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-font-list_1.0.2_1714029893208_0.39406639388576115"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-25T07:24:53.129Z","1.0.2":"2024-04-25T07:24:53.401Z","modified":"2024-04-25T07:24:53.684Z"},"maintainers":[{"name":"anup22","email":"aglawe.anup22@gmail.com"}],"description":"TODO","homepage":"https://github.com/anup-a/react-native-font-list#readme","keywords":["react-native"],"repository":{"type":"git","url":"git+https://github.com/anup-a/react-native-font-list.git","baseUrl":"https://github.com/anup-a/react-native-font-list"},"author":{"name":"Anup","email":"aglawe.anup22@gmail.com"},"bugs":{"url":"https://github.com/anup-a/react-native-font-list/issues"},"license":"MIT","readme":"# react-native-font-list\nA basic React Native module that exposes the operating system's installed fonts and available font families. It ships with a single function: `.get()`.\n\n## Installation\n### Add Dependency\nYarn:\n\n`yarn add react-native-font-list`\n\nNPM:\n\n`npm install react-native-font-list --save`\n\n### Update Pods (iOS)\n`cd ios && pod install`\n\nThat's it! You are ready to use FontList.\n\n## Usage\n```javascript\n// import\nimport FontList from 'react-native-font-list';\n\n// sample use case\nconst [availableFontFamilies, setAvailableFontFamilies] = useState([]);\nconst [installedFonts, setInstalledFonts] = useState([]);\n\nFontList.get((fontFamilies, fonts) => {\n  setAvailableFontFamilies(fontFamilies);\n  setInstalledFonts(fonts);\n});\n```\n\n## License\n[View License](/LICENSE);\n","readmeFilename":"README.md"}