{"_id":"@andycui/react-native-get-music-files","_rev":"4-bc2af35fa6e564077552d2671e835e87","name":"@andycui/react-native-get-music-files","dist-tags":{"latest":"3.0.4"},"versions":{"3.0.1":{"name":"@andycui/react-native-get-music-files","version":"3.0.1","keywords":["react-native","music","files","metadata","ios","android","react","native"],"author":{"name":"Andy Cui","email":"andy380743909@gmail.com"},"license":"MIT","_id":"@andycui/react-native-get-music-files@3.0.1","maintainers":[{"name":"andycui","email":"andy380743909@gmail.com"}],"homepage":"https://github.com/andy380743909/react-native-get-music-files#readme","bugs":{"url":"https://github.com/andy380743909/react-native-get-music-files/issues"},"dist":{"shasum":"13fe6406c12264cbdb550c4a85cbe32763d81e28","tarball":"https://registry.npmjs.org/@andycui/react-native-get-music-files/-/react-native-get-music-files-3.0.1.tgz","fileCount":17,"integrity":"sha512-ThciNhEgVqBUYJE5NGArjaUYIQIplYLDg29ewTvBv8GVtSqpd+/GOBoWBVIISj2RWUtXTeN+bcew4icYhHT4KA==","signatures":[{"sig":"MEUCIQCogqk/cNOWtATJtX7sXO3Hct3xP19XDGajyyzPZ7rEHwIgV/9WWcD62mx/ZchaPYiJIMUKtBF0QV6FbMNJrrkW7ag=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61456},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"57c88bab6adabc1740fe40d5102b023910bbc448","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace react-native-turbo-songs-example","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andycui","email":"andy380743909@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/andy380743909/react-native-get-music-files.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.4.2","description":"React Native package to get music files from local and sd for iOS and Android","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"23.11.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","codegenConfig":{"name":"RNTurboSongsSpec","type":"modules","jsSrcsDir":"src"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.0.2","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.40.17","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-get-music-files_3.0.1_1768624022845_0.4775162156634032","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"3.0.2":{"name":"@andycui/react-native-get-music-files","version":"3.0.2","keywords":["react-native","music","files","metadata","ios","android","react","native"],"author":{"name":"Andy Cui","email":"andy380743909@gmail.com"},"license":"MIT","_id":"@andycui/react-native-get-music-files@3.0.2","maintainers":[{"name":"andycui","email":"andy380743909@gmail.com"}],"homepage":"https://github.com/andy380743909/react-native-get-music-files#readme","bugs":{"url":"https://github.com/andy380743909/react-native-get-music-files/issues"},"dist":{"shasum":"b7fa76f3b18ed9b1a7121fc60a05a3411b57312c","tarball":"https://registry.npmjs.org/@andycui/react-native-get-music-files/-/react-native-get-music-files-3.0.2.tgz","fileCount":17,"integrity":"sha512-ozqfebFl8PSqcO7LvKoe4I0nK3TUmSVwm8btoKFF6lMZyFYGYjy/yxKPwvCf1/03O/PCHuYSVqvoKbWILUovmw==","signatures":[{"sig":"MEQCIDawQiWr4oSl3/1wkSjwvu0IZk9Ixw/E0w6EFTXymLQ+AiBD3G45sLFfpmkcWLicW1CWxlBPiWABh2YZaF5nj0utZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61480},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"57c88bab6adabc1740fe40d5102b023910bbc448","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace react-native-turbo-songs-example","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andycui","email":"andy380743909@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/andy380743909/react-native-get-music-files.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.4.2","description":"React Native package to get music files from local and sd for iOS and Android","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"23.11.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","codegenConfig":{"name":"RNTurboSongsSpec","type":"modules","jsSrcsDir":"src"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.0.2","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.40.17","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-get-music-files_3.0.2_1768624313366_0.16062704194412403","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"3.0.3":{"name":"@andycui/react-native-get-music-files","version":"3.0.3","keywords":["react-native","music","files","metadata","ios","android","react","native"],"author":{"name":"Andy Cui","email":"andy380743909@gmail.com"},"license":"MIT","_id":"@andycui/react-native-get-music-files@3.0.3","maintainers":[{"name":"andycui","email":"andy380743909@gmail.com"}],"homepage":"https://github.com/andy380743909/react-native-get-music-files#readme","bugs":{"url":"https://github.com/andy380743909/react-native-get-music-files/issues"},"dist":{"shasum":"07dda10d5b233447dc2fca1d89dcd465c4599151","tarball":"https://registry.npmjs.org/@andycui/react-native-get-music-files/-/react-native-get-music-files-3.0.3.tgz","fileCount":30,"integrity":"sha512-7S+WyYO+MRrBe2kuvDAVe1D6ExTLxU+NGSKPROQCoAx6GI6wFoq45B1E7J0xGeFcvl2xeNHXbT1RSbHvTZmn0g==","signatures":[{"sig":"MEUCIQDyZYIHFs42ueIOwGLNbDY5VphMQtJja71RcbMkhenR+gIgKdWE1252q1BFPw+ZIx0Swhw4+my6HCRRTDSvkfdA+d4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75066},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","engines":{"node":">= 18.0.0"},"gitHead":"57c88bab6adabc1740fe40d5102b023910bbc448","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","example":"yarn workspace react-native-turbo-songs-example","prepare":"bob build","release":"release-it","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andycui","email":"andy380743909@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/andy380743909/react-native-get-music-files.git","type":"git"},"workspaces":["example"],"_npmVersion":"11.4.2","description":"React Native package to get music files from local and sd for iOS and Android","directories":{},"resolutions":{"@types/react":"17.0.21"},"_nodeVersion":"23.11.0","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","codegenConfig":{"name":"RNTurboSongsSpec","type":"modules","jsSrcsDir":"src"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.1","devDependencies":{"jest":"^28.1.1","react":"18.2.0","turbo":"^1.10.7","eslint":"^8.4.1","del-cli":"^5.0.0","prettier":"^2.0.5","commitlint":"^17.0.2","release-it":"^15.0.0","typescript":"^5.9.3","@types/jest":"^28.1.2","pod-install":"^0.1.0","@types/react":"~17.0.21","react-native":"0.72.5","@types/react-native":"0.70.0","@evilmartians/lefthook":"^1.5.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","react-native-builder-bob":"^0.40.17","@react-native/eslint-config":"^0.72.2","@commitlint/config-conventional":"^17.0.2","@release-it/conventional-changelog":"^5.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-get-music-files_3.0.3_1768625154928_0.4706593921894904","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"3.0.4":{"name":"@andycui/react-native-get-music-files","version":"3.0.4","description":"React Native package to get music files from local and sd for iOS and Android","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"example":"yarn workspace react-native-turbo-songs-example","test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build lib","release":"release-it","prepare":"bob build"},"keywords":["react-native","music","files","metadata","ios","android","react","native"],"repository":{"type":"git","url":"git+https://github.com/andy380743909/react-native-get-music-files.git"},"author":{"name":"Andy Cui","email":"andy380743909@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/andy380743909/react-native-get-music-files/issues"},"homepage":"https://github.com/andy380743909/react-native-get-music-files#readme","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.5.0","@react-native/eslint-config":"^0.72.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.72.5","react-native-builder-bob":"^0.40.17","release-it":"^15.0.0","turbo":"^1.10.7","typescript":"^5.9.3"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":"*","react-native":"*"},"workspaces":["example"],"packageManager":"yarn@3.6.1","engines":{"node":">= 18.0.0"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"codegenConfig":{"name":"RNTurboSongsSpec","type":"modules","jsSrcsDir":"src"},"_id":"@andycui/react-native-get-music-files@3.0.4","gitHead":"167d90cfe17523ce99c127b79f665b620a28b5c6","_nodeVersion":"23.11.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-Jdt1bUdqMwmAJsrL4se6EApd/1r29RniEe1BqJ+gIZix6jNJ8hezgF4Oxa9FpbNXAG/TZINJ6K2mBy4Zo49XIg==","shasum":"dfaf9c8cc43331c2bde9eab91619ff838e4233f2","tarball":"https://registry.npmjs.org/@andycui/react-native-get-music-files/-/react-native-get-music-files-3.0.4.tgz","fileCount":30,"unpackedSize":75188,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDdmr6e3qqiUGH9My6olGEGddw/yu5WrIbEC3KOyf+7eAiAe/UfEv/E5iWYCfseIXOsq5CHBclzPdQpnV+Hzpy7zoQ=="}]},"_npmUser":{"name":"andycui","email":"andy380743909@gmail.com"},"directories":{},"maintainers":[{"name":"andycui","email":"andy380743909@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-get-music-files_3.0.4_1768876465201_0.6199411313187748"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-17T04:27:02.752Z","modified":"2026-01-20T02:34:25.470Z","3.0.1":"2026-01-17T04:27:03.002Z","3.0.2":"2026-01-17T04:31:53.519Z","3.0.3":"2026-01-17T04:45:55.073Z","3.0.4":"2026-01-20T02:34:25.351Z"},"bugs":{"url":"https://github.com/andy380743909/react-native-get-music-files/issues"},"author":{"name":"Andy Cui","email":"andy380743909@gmail.com"},"license":"MIT","homepage":"https://github.com/andy380743909/react-native-get-music-files#readme","keywords":["react-native","music","files","metadata","ios","android","react","native"],"repository":{"type":"git","url":"git+https://github.com/andy380743909/react-native-get-music-files.git"},"description":"React Native package to get music files from local and sd for iOS and Android","maintainers":[{"name":"andycui","email":"andy380743909@gmail.com"}],"readme":"# react-native-get-music-files\nReact Native package to get music files from local and sd for iOS and Android\n# What does this package?\n\nThis package allow you to get music files from Android & iOS with following properties:\n\n* Title\n* Author\n* Album\n* Duration\n* FilePath\n* Cover\n* Duration\n* Genre\n## Getting started\n\n`$ yarn add react-native-get-music-files`\nor \n`$ yarn add https://github.com/cinder92/react-native-get-music-files.git`\n\n#### iOS\n\n1. Add in `info.plist` following permission\n```\n<key>NSAppleMusicUsageDescription</key>\n<string>This permission is not needed by the app, but it is required by an underlying API. If you see this dialog, contact us.</string>\n``` \n2. Add MediaPlayer.framework under build settings in Xcode\n3. Ensure all your music files are sync from a computer to a real iPhone device (this package does not work in simulators)\n\n#### Android\n\n1. Navigate to `android/app/src/main/AndroidManifest.xml` and ensure to add this permission\n```\n<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\"/>\n<uses-permission android:name=\"android.permission.READ_MEDIA_AUDIO\"/> <-- Add this for Android 13 and newer versions\n```\n\n## Before usage\n\nAs this package needs permissions from the device, please ensure that you asked for permissions before run any of this package functions.\n\n## Constants\n```js\nSortSongFields {\n    TITLE, DURATION, ARTIST, GENRE, ALBUM\n}\n\nSortSongOrder {\n    ASC, DESC\n}\n```\n\n## Usage\n```js\n\nimport { getAll, getAlbums, searchSongs, SortSongFields, SortSongOrder } from \"react-native-get-music-files\";\n\n\nconst songsOrError = await getAll({\n    limit: 20,\n    offset: 0,\n    coverQuality: 50,\n    minSongDuration: 1000,\n    sortBy: SortSongFields.TITLE,\n    sortOrder: SortSongOrder.DESC,\n});\n\n// error \nif (typeof songsOrError === 'string') {\n    // do something with the error\n    return;\n}\n\nconst albumsOrError = await getAlbums({\n    limit: 10,\n    offset: 0,\n    coverQuality: 50,\n    artist: 'Rihanna',\n    sortBy: SortSongFields.ALBUM,\n    sortOrder: SortSongOrder.DESC,\n});\n\n// error \nif (typeof albumsOrError === 'string') {\n    // do something with the error\n    return;\n}\n\nconst resultsOrError = await searchSongs({\n    limit: 10,\n    offset: 0,\n    coverQuality: 50,\n    searchBy: '...',\n    sortBy: SortSongFields.DURATION,\n    sortOrder: SortSongOrder.DESC,\n});\n\n// error \nif (typeof resultsOrError === 'string') {\n    // do something with the error\n    return;\n}\n```\n\nMusicFiles returns an array of objects where you can loop, something like this.\n\n```js\n[\n  {\n    title : \"La danza del fuego\",\n    author : \"Mago de Oz\",\n    album : \"Finisterra\",\n    genre : \"Folk\",\n    duration : 209120,\n    cover : \"data:image/jpeg;base64, ....\",\n    url : \"/sdcard/0/la-danza-del-fuego.mp3\"\n  }\n]\n```\n\n  \n#### Return Types\n* Album\n\n    Type: Object\n    \n    | property \t| type \t| description \t|\n    |---------------:\t|:--------:\t|-------------------------------\t|\n    | album \t| string \t| album name \t|\n    | artist \t| string \t| author \t|\n    | cover \t| string \t| base64 of the artwork \t|\n    | numberOfSongs \t| number \t| number of songs in this album \t|\n\n* Song\n\n    | property \t| type \t| description \t|\n    |---------------\t|--------\t|-------------------------------\t|\n    | title \t| string \t| title\t|\n    | artist \t| string \t|  artist\t|\n    | album \t| string \t|  album name\t|\n    | duration \t| string \t|  duration in ms\t|\n    | genre \t| string \t|  genre\t|\n    | cover \t| string \t|  base64 of the artwork\t|\n    | url \t| string \t| path of the song \t|\n\n\n#### Methods\n\n* ##### getAlbums\n    \n    `async getAlbums(options) → {Promise<Album[] | string>}`\n\n    * options\n    \n        Type: Object\n        \n        | property \t| type \t| description \t|\n        |---------------\t|--------\t|-------------------------------\t|\n        | artist  \t| string \t|  required\t|\n        | limit  \t| number \t|  optional\t|\n        | offset  \t| number \t|  required if limit set\t|\n        | coverQuality  \t| number \t|  optional\t|\n        | sortBy     |  string | optional |\n        | sortOrder   | string  | optional |\n\n    * returns\n  \n        Type: Albums\n        Error: string\n* ##### getAll\n    \n    `async getAll(options) → {Promise<Song[] | string>}`\n    \n    * options\n    \n        Type: Object\n        \n        | property \t| type \t| description \t|\n        |---------------\t|--------\t|-------------------------------\t|\n        | limit  \t| number \t|  optional\t|\n        | offset  \t| number \t|  required if limit set\t|\n        | coverQuality  \t| string \t|  optional\t|\n        | minSongDuration  \t| number \t|  optional\t|\n        | sortBy     |  string | optional |\n        | sortOrder   | string  | optional |\n        \n    * returns\n    \n        Type: Song\n        Error: string\n* ##### searchSongs\n    \n    `async searchSongs(options) → { Promise<Song[] | string> }`\n    \n    * options\n    \n        Type: Object\n        \n        | property \t| type \t| description \t|\n        |---------------\t|--------\t|-------------------------------\t|\n        | searchBy  \t| string \t|  required\t|\n        | limit  \t| number \t|  optional\t|\n        | offset  \t| number \t|  required if limit set\t|\n        | coverQuality  \t| number \t|  optional\t|\n        | sortBy     |  string | optional |\n        | sortOrder   | string  | optional |\n   \n    * returns\n        Type: Song\n        Error: string\n\n## Usage:\n\n[example app](https://github.com/cinder92/react-native-get-music-files/tree/master/example)\n\n# Version Changes\n\n# 2.2\n\n- [x] Android & iOS compatible\n- [x] Retro-compat turbo module\n- [x] Limit & offset to paginate results\n- [x] Compatible with `https://github.com/zoontek/react-native-permissions`\n\nPR are welcome!\n","readmeFilename":"README.md"}