{"_id":"react-native-mime-types","_rev":"8-06e8f3bd23aab806ca51b460cee522da","name":"react-native-mime-types","description":"The ultimate javascript content-type utility.","dist-tags":{"latest":"2.5.0"},"versions":{"2.2.0":{"name":"react-native-mime-types","description":"The ultimate javascript content-type utility.","version":"2.2.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jeremiah Senkpiel","email":"fishrock123@rocketmail.com","url":"https://searchbeam.jit.su"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Pierre Monge"}],"license":"MIT","keywords":["mime","types"],"repository":{"type":"git","url":"git+https://github.com/jshttp/mime-types.git"},"dependencies":{"mime-db":"~1.25.0"},"devDependencies":{"eslint":"3.10.2","eslint-config-standard":"6.2.1","eslint-plugin-promise":"3.4.0","eslint-plugin-standard":"2.0.1","istanbul":"0.4.5","mocha":"1.21.5"},"files":["HISTORY.md","LICENSE","index.js"],"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/test.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/test.js"},"gitHead":"4e516be18f6c7e6318651028e3b0914b5120a129","bugs":{"url":"https://github.com/jshttp/mime-types/issues"},"homepage":"https://github.com/jshttp/mime-types#readme","_id":"react-native-mime-types@2.2.0","_shasum":"55cef9798788b54dd99da8b05b76a19e1b979ca8","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"liroo","email":"pierre.monge@epitech.eu"},"dist":{"shasum":"55cef9798788b54dd99da8b05b76a19e1b979ca8","tarball":"https://registry.npmjs.org/react-native-mime-types/-/react-native-mime-types-2.2.0.tgz","integrity":"sha512-NO3/VOISW1XKOc/r8cJhsitXz/ttnBJF+VwzQvnJdm/SSk33QprNQfK9NmZKX90l4vIZ4DKL5grqiU479wSwZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGOAO63zILDis6CP/3YCMPmuZOnuIeL6eOJI6GzksFkFAiA6hxPn2FNr5MHHdWuX6NSLInojmv1C9GoHQVyHKWY1LQ=="}]},"maintainers":[{"name":"liroo","email":"pierre.monge@epitech.eu"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-native-mime-types-2.2.0.tgz_1482503079171_0.1158447761554271"},"directories":{}},"2.2.1":{"name":"react-native-mime-types","description":"The ultimate javascript content-type utility.","version":"2.2.1","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jeremiah Senkpiel","email":"fishrock123@rocketmail.com","url":"https://searchbeam.jit.su"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Pierre Monge"}],"license":"MIT","keywords":["mime","types"],"repository":{"type":"git","url":"git+https://github.com/Liroo/react-native-mime-types.git"},"dependencies":{"mime-db":"~1.25.0"},"devDependencies":{"eslint":"3.10.2","eslint-config-standard":"6.2.1","eslint-plugin-promise":"3.4.0","eslint-plugin-standard":"2.0.1","istanbul":"0.4.5","mocha":"1.21.5"},"files":["HISTORY.md","LICENSE","index.js"],"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/test.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/test.js"},"gitHead":"4b619fc1d76651a8084c175658031ceca6923bc0","bugs":{"url":"https://github.com/Liroo/react-native-mime-types/issues"},"homepage":"https://github.com/Liroo/react-native-mime-types#readme","_id":"react-native-mime-types@2.2.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"liroo","email":"pierre.monge@epitech.eu"},"dist":{"integrity":"sha512-2H0jjW5l2driXiiKx9PZsJDCFgS8LeMaVLVZPy3iRkBrNcstpQosEr6+YJfihLbW3WvFtmS2qcyFKB7mYw/iJg==","shasum":"a9760e9916e4e7df03512c60516668f23543f2c0","tarball":"https://registry.npmjs.org/react-native-mime-types/-/react-native-mime-types-2.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfzJ+akExFuCbx4Fi8N97nLoccLZCahlJLm7gR07amTwIgHtOk1+rX0ZvTqXgLP37C1DteJtMpd8N+d229EABTb2k="}]},"maintainers":[{"name":"liroo","email":"pierre.monge@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-mime-types-2.2.1.tgz_1510601359681_0.6301938821561635"},"directories":{}},"2.3.0":{"name":"react-native-mime-types","description":"The ultimate javascript content-type utility.","version":"2.3.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jeremiah Senkpiel","email":"fishrock123@rocketmail.com","url":"https://searchbeam.jit.su"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Pierre Monge"}],"license":"MIT","keywords":["mime","types"],"repository":{"type":"git","url":"git+https://github.com/Liroo/react-native-mime-types.git"},"dependencies":{"mime-db":"~1.37.0"},"devDependencies":{"eslint":"3.10.2","eslint-config-standard":"6.2.1","eslint-plugin-promise":"3.4.0","eslint-plugin-standard":"2.0.1","istanbul":"0.4.5","mocha":"1.21.5"},"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/test.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/test.js"},"gitHead":"d669dbf236c1011ff3e08a0b3c491e495072eeb5","bugs":{"url":"https://github.com/Liroo/react-native-mime-types/issues"},"homepage":"https://github.com/Liroo/react-native-mime-types#readme","_id":"react-native-mime-types@2.3.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-9l/kkT1QM0i0xAKkOADkP6jIMhqiS+R/eSKBS/lsUmuMYMqboClyrwTFFZwUcaVIN0SpeH4wOKhYTqCnFgRsEw==","shasum":"1278602c3da94ffb47c6400ef861901c4ebac420","tarball":"https://registry.npmjs.org/react-native-mime-types/-/react-native-mime-types-2.3.0.tgz","fileCount":5,"unpackedSize":12957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTPHpCRA9TVsSAnZWagAABLIQAIp5fJkyqW3A1Y6YAoyV\nVfigq1C4h3xlqXu9qK5vi9VtYI3nj68qmneZWDKmuK9+7uapvO1n6N/YHizU\naobW7Hmqf3O3I2zW9v1KJytSY8XTuE1/LQUL9Awh55zGxrvV7c2Ik2CrOJnF\nTJa5Zuw9VUdOz5QGJvmON5MectEY+aibDrg4JJv2EgYjbg1CYMbefXsL+jI6\nzDuAAj3fMzOXuAjZ2iSnFlR2MXCcQPSphM8q9sxpWOrUl9ixOR9RETkMFFNW\nqNSbqBkYQBzKTc3oWsn5h1ywtbtR2hVmPZZ/xzYrmrEOAzKL7P2fpkWJ8O4m\nPASlk52MeFdppGjYQb4nY90sdD+12Q1ySHr0X9fo0H9bMr6e00VCjpJ1S5N/\nds9bnW8105P2uXyuh4Qyw8k/WPLE4YWqV/kPQeO1Ba3RqyMfaUktEaWFakzx\n8xm8wbVhbCz6xA2/iPNlQTtXpfTnitlOY80Po6VTfvUevpbdjBcQo+Sicxd6\nrF3iU0005mE2f61Tl0/OuuPdBWJdU+3FRz+MQDU1on5Dcgpfuo/YvBfmYcGA\nE/W6P/YVGRBrRgUkgMGY4EckZNUH6LXhn9NmCEP4fQ6vZeaH1Rhbk1iJPYus\n6MLkW/v4W96knuOy+KHV/ACsYxiIhy4zpgbOm3K+EOVgFtVyWGJqVRiTC7j0\n2tej\r\n=1Bvu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC01FIMboUCrekzi/XtbkbdPRHbkqGCm9qMPHASjcnTBQIhAOLi3DF0K2gbTXvkYc+cvozzxGqMfehoh6PlvstsZ4BE"}]},"maintainers":[{"name":"liroo","email":"pierre.monge@epitech.eu"}],"_npmUser":{"name":"liroo","email":"pierre.monge@epitech.eu"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-mime-types_2.3.0_1582100969236_0.8528204686333558"},"_hasShrinkwrap":false},"2.4.0":{"name":"react-native-mime-types","description":"The ultimate javascript content-type utility.","version":"2.4.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jeremiah Senkpiel","email":"fishrock123@rocketmail.com","url":"https://searchbeam.jit.su"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Pierre Monge"}],"license":"MIT","keywords":["mime","types"],"repository":{"type":"git","url":"git+https://github.com/Liroo/react-native-mime-types.git"},"dependencies":{"mime-db":"~1.37.0"},"devDependencies":{"eslint":"3.10.2","eslint-config-standard":"6.2.1","eslint-plugin-promise":"3.4.0","eslint-plugin-standard":"2.0.1","istanbul":"0.4.5","mocha":"1.21.5"},"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/test.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/test.js"},"types":"./index.d.ts","gitHead":"e415133282aff475f34ad586c90bda845cc498c4","bugs":{"url":"https://github.com/Liroo/react-native-mime-types/issues"},"homepage":"https://github.com/Liroo/react-native-mime-types#readme","_id":"react-native-mime-types@2.4.0","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-a7LymNr7yQzrDEhSMPNAy9aIs1OckBpo6G8OkjVQTzaCe0XaSXCXu6KJsu/a4c3HVF9t0FiFSnxsRVEctpPI0g==","shasum":"fd0f051cc3032d1a0eb0e5ce59f36d591964ba26","tarball":"https://registry.npmjs.org/react-native-mime-types/-/react-native-mime-types-2.4.0.tgz","fileCount":6,"unpackedSize":13555,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO4YRIHM3rjiABwtSdBXgD9N8Icd1QJqIy4t8mFR20sQIhAKi4CM7tJqhZRyzg2f6AvPho+0HisdGAx133+B9XNo0g"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHa4jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrS+A//aDr+8v7POidxSRz7T0pqLvEpUK8akIsn26CfL7Ztf00tZoo+\r\nVAoP6QhVxrtgfqTlGe/zNn1SsYvTsGDYZERabDsny7rjWwBzd2sAdS9Wm2A4\r\nNf5AQxXKAEMZ6slrbrgWUH0vBvVKMoawhuqBLa8O1dpOOxtt2Sw6pEyTAxl1\r\nPWl6c7kRUjDJpY30VKYnccpkQ4ap0Km2lHBxnFEXrSgHh+S1Jfj365TNRhyt\r\n3d/98nV1QyfauS7IYZeTtGibZax10mxP3DUqNuyXglHUIa+joTYchY/tolrN\r\n7j65+bcEaJroFsyQsw9RKPXPWcoP9Nw0fG6qx2ymHz0R62qQ1q1yBJ++5izI\r\nWiLRVaMj4mKR3tCJn55EwrkRs7T561aeGcDuatkSDvIOHzpCN5JbWSjQVFn7\r\nViflUO8CscMuIXTBI1w5NE36PwgusHpObi3161l9IsJMmKToQcBnuH/erCfV\r\nKxzPqV7FyvHLu44ebiwANEXASB4GzSshRKf6s/JAiCvKH1cgtFQPj/CIFM5t\r\nxNvhZX7Cti/gN8j+BYoCaBxh9iTS8GrLndjjf6zbe6SlVzf6IZiDhhbgwStA\r\nPqiZa8mYAjO1H9ZK9452KnpkqwBOwzRuGIU7XOZNpmOiQztGQScDO0BhwIDv\r\ndOP3rAeMQfKkM8iqnoZpD9WLTdW1RJlbtik=\r\n=KDt1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"liroo","email":"liroo.pierre@gmail.com"},"directories":{},"maintainers":[{"name":"liroo","email":"liroo.pierre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-mime-types_2.4.0_1679666723458_0.049949289141714814"},"_hasShrinkwrap":false},"2.5.0":{"name":"react-native-mime-types","description":"The ultimate javascript content-type utility.","version":"2.5.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jeremiah Senkpiel","email":"fishrock123@rocketmail.com","url":"https://searchbeam.jit.su"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Pierre Monge"}],"license":"MIT","keywords":["mime","types"],"repository":{"type":"git","url":"git+https://github.com/Liroo/react-native-mime-types.git"},"dependencies":{"mime-db":"~1.52.0"},"devDependencies":{"eslint":"3.10.2","eslint-config-standard":"6.2.1","eslint-plugin-promise":"3.4.0","eslint-plugin-standard":"2.0.1","istanbul":"0.4.5","mocha":"1.21.5"},"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/test.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/test.js"},"_id":"react-native-mime-types@2.5.0","gitHead":"2a892eb39f8b4f2917b7fe00fa62c5b50b4103b6","types":"./index.d.ts","bugs":{"url":"https://github.com/Liroo/react-native-mime-types/issues"},"homepage":"https://github.com/Liroo/react-native-mime-types#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-l1NIGxa0MBFPGBFDd3yeGe2f8+Qb+U4M1FEK7l3Fob0R7kOecwgRau2CCCmu6W5QzyhKdBxRC8SOTuTIEKKAUw==","shasum":"2f2b6f44696797878602da822dfdc2ae5c9b29a8","tarball":"https://registry.npmjs.org/react-native-mime-types/-/react-native-mime-types-2.5.0.tgz","fileCount":6,"unpackedSize":13555,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKIRc+Giv2t6sg2MtgyQp/ytr6UaM1NuBkv/sDXymahAiAwVDwy5hhFEtpFw3tjxsPR6a42429XPKvBwRE02oPpdA=="}]},"_npmUser":{"name":"liroo","email":"liroo.pierre@gmail.com"},"directories":{},"maintainers":[{"name":"liroo","email":"liroo.pierre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-mime-types_2.5.0_1708356124784_0.3136725543244612"},"_hasShrinkwrap":false}},"readme":"# mime-types\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nThe ultimate javascript content-type utility.\n\nSimilar to [node-mime](https://github.com/broofa/node-mime), except:\n\n- __No fallbacks.__ Instead of naively returning the first available type, `mime-types` simply returns `false`,\n  so do `var type = mime.lookup('unrecognized') || 'application/octet-stream'`.\n- No `new Mime()` business, so you could do `var lookup = require('mime-types').lookup`.\n- Additional mime types are added such as jade and stylus via [mime-db](https://github.com/jshttp/mime-db)\n- No `.define()` functionality\n\nOtherwise, the API is compatible.\n\n## Install\n\n```sh\n$ yarn add react-native-mime-types\n```\n\n## Adding Types\n\nAll mime types are based on [mime-db](https://github.com/jshttp/mime-db),\nso open a PR there if you'd like to add mime types.\n\n## API\n\n```js\nimport * as mime from 'react-native-mime-types';\n```\n\nAll functions return `false` if input is invalid or not found.\n\n### mime.lookup(path)\n\nLookup the content-type associated with a file.\n\n```js\nmime.lookup('json')             // 'application/json'\nmime.lookup('.md')              // 'text/x-markdown'\nmime.lookup('file.html')        // 'text/html'\nmime.lookup('folder/file.js')   // 'application/javascript'\nmime.lookup('folder/.htaccess') // false\n\nmime.lookup('cats') // false\n```\n\n### mime.contentType(type)\n\nCreate a full content-type header given a content-type or extension.\n\n```js\nmime.contentType('markdown')  // 'text/x-markdown; charset=utf-8'\nmime.contentType('file.json') // 'application/json; charset=utf-8'\n\n// from a full path\nmime.contentType(path.extname('/path/to/file.json')) // 'application/json; charset=utf-8'\n```\n\n### mime.extension(type)\n\nGet the default extension for a content-type.\n\n```js\nmime.extension('application/octet-stream') // 'bin'\n```\n\n### mime.charset(type)\n\nLookup the implied default charset of a content-type.\n\n```js\nmime.charset('text/x-markdown') // 'UTF-8'\n```\n\n### var type = mime.types[extension]\n\nA map of content-types by extension.\n\n### [extensions...] = mime.extensions[type]\n\nA map of extensions by content-type.\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/react-native-mime-types.svg\n[npm-url]: https://npmjs.org/package/react-native-mime-types\n[node-version-image]: https://img.shields.io/node/v/react-native-mime-types.svg\n[node-version-url]: https://nodejs.org/en/download/\n[travis-image]: https://img.shields.io/travis/jshttp/mime-types/master.svg\n[travis-url]: https://travis-ci.org/jshttp/mime-types\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/mime-types/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/mime-types\n[downloads-image]: https://img.shields.io/npm/dm/react-native-mime-types.svg\n[downloads-url]: https://npmjs.org/package/react-native-mime-types\n","maintainers":[{"name":"liroo","email":"liroo.pierre@gmail.com"}],"time":{"modified":"2024-02-19T15:22:05.352Z","created":"2016-12-23T14:24:39.841Z","2.2.0":"2016-12-23T14:24:39.841Z","2.2.1":"2017-11-13T19:29:19.797Z","2.3.0":"2020-02-19T08:29:29.416Z","2.4.0":"2023-03-24T14:05:23.701Z","2.5.0":"2024-02-19T15:22:04.914Z"},"homepage":"https://github.com/Liroo/react-native-mime-types#readme","keywords":["mime","types"],"repository":{"type":"git","url":"git+https://github.com/Liroo/react-native-mime-types.git"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Jeremiah Senkpiel","email":"fishrock123@rocketmail.com","url":"https://searchbeam.jit.su"},{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},{"name":"Pierre Monge"}],"bugs":{"url":"https://github.com/Liroo/react-native-mime-types/issues"},"license":"MIT","readmeFilename":"README.md"}