File: /home/imensosw/.npm/registry.npmjs.org/media-typer/.cache.json
{"_id":"media-typer","_rev":"13-0b09ace11867b94233a7a7d972b0e2db","name":"media-typer","description":"Simple RFC 6838 media type parser and formatter","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"name":"media-typer","description":"Simple RFC 6838 media type parser and formatter","version":"0.0.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/expressjs/media-typer"},"devDependencies":{"istanbul":"0.2.10","mocha":"~1.20.1","should":"~4.0.4"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"},"bugs":{"url":"https://github.com/expressjs/media-typer/issues"},"homepage":"https://github.com/expressjs/media-typer","_id":"media-typer@0.0.0","dist":{"shasum":"4ee71136eb8612cc771ecfa2bf25ddc153084f5c","tarball":"http://registry.npmjs.org/media-typer/-/media-typer-0.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"directories":{}},"0.1.0":{"name":"media-typer","description":"Simple RFC 6838 media type parser and formatter","version":"0.1.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/expressjs/media-typer"},"devDependencies":{"istanbul":"0.2.10","mocha":"~1.20.1","should":"~4.0.4"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"},"bugs":{"url":"https://github.com/expressjs/media-typer/issues"},"homepage":"https://github.com/expressjs/media-typer","_id":"media-typer@0.1.0","dist":{"shasum":"00607eec8005776e49ea593202f5469f703e8060","tarball":"http://registry.npmjs.org/media-typer/-/media-typer-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"directories":{}},"0.2.0":{"name":"media-typer","description":"Simple RFC 6838 media type parser and formatter","version":"0.2.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/expressjs/media-typer"},"devDependencies":{"istanbul":"0.2.10","mocha":"~1.20.1","should":"~4.0.4"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"},"bugs":{"url":"https://github.com/expressjs/media-typer/issues"},"homepage":"https://github.com/expressjs/media-typer","_id":"media-typer@0.2.0","dist":{"shasum":"d8a065213adfeaa2e76321a2b6dda36ff6335984","tarball":"http://registry.npmjs.org/media-typer/-/media-typer-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"directories":{}},"0.3.0":{"name":"media-typer","description":"Simple RFC 6838 media type parser and formatter","version":"0.3.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/jshttp/media-typer"},"devDependencies":{"istanbul":"0.3.2","mocha":"~1.21.4","should":"~4.0.4"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"d49d41ffd0bb5a0655fa44a59df2ec0bfc835b16","bugs":{"url":"https://github.com/jshttp/media-typer/issues"},"homepage":"https://github.com/jshttp/media-typer","_id":"media-typer@0.3.0","_shasum":"8710d7af0aa626f8fffa1ce00168545263255748","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"dist":{"shasum":"8710d7af0aa626f8fffa1ce00168545263255748","tarball":"http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz"},"directories":{}},"1.0.0":{"name":"media-typer","description":"Simple RFC 6838 media type parser and formatter","version":"1.0.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jshttp/media-typer.git"},"devDependencies":{"eslint":"5.7.0","eslint-config-standard":"12.0.0","eslint-plugin-import":"2.14.0","eslint-plugin-markdown":"1.0.0-beta.6","eslint-plugin-node":"7.0.1","eslint-plugin-promise":"4.0.1","eslint-plugin-standard":"4.0.0","mocha":"5.2.0","nyc":"13.1.0"},"engines":{"node":">= 0.8"},"scripts":{"lint":"eslint --plugin markdown --ext js,md .","test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"nyc --reporter=html --reporter=text npm test","test-travis":"nyc --reporter=text npm test"},"gitHead":"dbe811acb83855b086667271010d3b105aeb6e34","bugs":{"url":"https://github.com/jshttp/media-typer/issues"},"homepage":"https://github.com/jshttp/media-typer#readme","_id":"media-typer@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"integrity":"sha512-MKXtlq1YKUow2wpJlJ7ep1MU6jQR0BaKpkDyrE294cmNSbhoOU1yziJ4UZOU1guFxcEaFt5t4LHsL/t891D6BQ==","shasum":"ca89611f8e31b936efcb3aa90826772f135e3341","tarball":"https://registry.npmjs.org/media-typer/-/media-typer-1.0.0.tgz","fileCount":5,"unpackedSize":8331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJby98nCRA9TVsSAnZWagAA4d8P/A+KHvncQuvDCGeEBhDT\nNS32nytG/grOSzaMcv/L3KA9zAHBWyYa0EmBQ5Iyvd2A1jk12yKW5FsonQNO\n2Q+FMWW8fzo2pJtV6KB7FGgTJ6oWfViT86c4gjZTnJ6sZBe5z30Ai/5hSk6g\nAv749aM7qgX88RysFGRsbq38rKwmV4LIvLqYFT+knDo+R1A72rFjZLtWSe2a\nfrjdhfz3+f5S0Mj6GWdtgmn6zARFlIi6SyJrrNjoOumQXDRHQt3rgicEgBCR\nztwlnBjFXPCBj6+xK5mIqNP4XJMv1W0DRplP1WWfChTUy+8SU3PMTmE3n0gV\nvx1nBWWrFaZFRsBSp6l6qD5Am4JO/RlFV/GS09OxL93+R/gL+BnGY6uEZhcr\n5d2SDrLAzzznBz6q5KCI3wV8Fx0jNQyibw1XaJ75BL72HsCV1TWU9ZVeGCau\n32/J7ZuRsPkn+adujX6ffIi5+oeFBHkl+NuCvtEZT8nknPw/CsoPYEZ7SA3F\nX+yBPf8fPXiNIk0FrdVtMJvMT2ueaoEw3+hzzmEfwC6Lq25VYTOqdpsbyTiw\n0+Uor6Oe9sYwIZy05pc25PJdJvwHn3LaDLA8Y8PAjntDWNMd8nW2ZnXGVtLE\nia74S0Pqi55M/ARn9DiGe4H/4n77GEQyYuSWIiJheo71mY2/Y8M3OgHGLY4r\nNlif\r\n=3F90\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/media-typer_1.0.0_1540087590178_0.03604841955092852"},"_hasShrinkwrap":false},"1.0.1":{"name":"media-typer","description":"Simple RFC 6838 media type parser and formatter","version":"1.0.1","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jshttp/media-typer.git"},"devDependencies":{"eslint":"5.7.0","eslint-config-standard":"12.0.0","eslint-plugin-import":"2.14.0","eslint-plugin-markdown":"1.0.0-beta.6","eslint-plugin-node":"7.0.1","eslint-plugin-promise":"4.0.1","eslint-plugin-standard":"4.0.0","mocha":"5.2.0","nyc":"13.1.0"},"engines":{"node":">= 0.8"},"scripts":{"lint":"eslint --plugin markdown --ext js,md .","test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"nyc --reporter=html --reporter=text npm test","test-travis":"nyc --reporter=text npm test"},"gitHead":"1ee51e645afab21855a35fbf95fe6b1e4c852060","bugs":{"url":"https://github.com/jshttp/media-typer/issues"},"homepage":"https://github.com/jshttp/media-typer#readme","_id":"media-typer@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"integrity":"sha512-v42gdPIuqYCoDVH5OiaKsVrv6aJqdMWJzl8KCyDs/KeDyBveYp3Wxq4UWJfsWjkSZUNC0xlLfDlLCPa1h/oo+g==","shasum":"e39d677e19a011c52d2681f430d1adafb299dd41","tarball":"https://registry.npmjs.org/media-typer/-/media-typer-1.0.1.tgz","fileCount":5,"unpackedSize":8346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJby+HDCRA9TVsSAnZWagAALRcP/jsONa6K4aEKiHKqqmU+\nNryRP9TBIgMxtSRaXP2lU+2BqeQRAPFtxa7H4SaFyyM6QLI/I3G3C1LDltXx\nKcmaWPzGHNJZ6aFVqiNgn7nia+/vGiciP/ZeEg1AKy6vFbkKVMuk3AOQVYO0\nMhByAAVLTKBRqMtuMqv2AH7tHQLSMNJCvHQMelQAOruHz8wbE9Pg189uWaud\npm0sD0eqVw6L1VD7A8XtA0TcyidcnytIIgq/uSr6sES6sFIBTtCafbFaz/X3\nrdm4Fiv1jynEN5Q5PWO9sTCIBeJ3gdlTm43EkXS98ggR6pPqYTujTdI15SCJ\nnM1qaMUR3k+2BAZttjD1v+gvtI5U3nl/jgdTWCt0oQlQ3GgO8TjO43RHKYmR\nP4LylGuve7oih6Sf6/MDOi/QPReLiQW4FBdAxCB8jkKjiVV5YEZ4XmlaO2sd\ny/YMcoxBrROebWcjmlFXROfAs2ianwxTD7lhe7YnjghGIf2m+BxFWJF0xLga\n+5op2MR/GCbf93BiV9RguUnfyaRohgmo3acIc4Fm/+M52nMrMS3dyiOxvCRD\n+cjiLJxHUsf192Y9vgbXMxlBqUzr6lGzSQAPpDScImHZzxC6AU3LVNOVCCDU\noMd/a96idMBHmCUC0dXn4WhYGDTjNRAcaj8PTE8vENp66fEbp4/wWFfWVM4h\nuvVC\r\n=0v4D\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/media-typer_1.0.1_1540088258485_0.9356881090496065"},"_hasShrinkwrap":false}},"readme":"# media-typer\n\n[![NPM Version][npm-version-image]][npm-url]\n[![NPM Downloads][npm-downloads-image]][npm-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\nSimple RFC 6838 media type parser.\n\nThis module will parse a given media type into it's component parts, like type,\nsubtype, and suffix. A formatter is also provided to put them back together and\nthe two can be combined to normalize media types into a canonical form.\n\nIf you are looking to parse the string that represents a media type and it's\nparameters in HTTP (for example, the `Content-Type` header), use the\n[content-type module](https://www.npmjs.com/package/content-type).\n\n## Installation\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\n\n```sh\n$ npm install media-typer\n```\n\n## API\n\n<!-- eslint-disable no-unused-vars -->\n\n```js\nvar typer = require('media-typer')\n```\n\n### typer.parse(string)\n\n<!-- eslint-disable no-undef, no-unused-vars -->\n\n```js\nvar obj = typer.parse('image/svg+xml')\n```\n\nParse a media type string. This will return an object with the following\nproperties (examples are shown for the string `'image/svg+xml; charset=utf-8'`):\n\n - `type`: The type of the media type (always lower case). Example: `'image'`\n\n - `subtype`: The subtype of the media type (always lower case). Example: `'svg'`\n\n - `suffix`: The suffix of the media type (always lower case). Example: `'xml'`\n\n### typer.format(obj)\n\n<!-- eslint-disable no-undef, no-unused-vars -->\n\n```js\nvar obj = typer.format({ type: 'image', subtype: 'svg', suffix: 'xml' })\n```\n\nFormat an object into a media type string. This will return a string of the\nmime type for the given object. For the properties of the object, see the\ndocumentation for `typer.parse(string)`.\n\n## License\n\n[MIT](LICENSE)\n\n[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/media-typer/master\n[coveralls-url]: https://coveralls.io/r/jshttp/media-typer?branch=master\n[node-version-image]: https://badgen.net/npm/node/media-typer\n[node-version-url]: https://nodejs.org/en/download\n[npm-downloads-image]: https://badgen.net/npm/dm/media-typer\n[npm-url]: https://npmjs.org/package/media-typer\n[npm-version-image]: https://badgen.net/npm/v/media-typer\n[travis-image]: https://badgen.net/travis/jshttp/media-typer/master\n[travis-url]: https://travis-ci.org/jshttp/media-typer\n","maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"time":{"modified":"2018-10-21T02:17:41.205Z","created":"2014-06-13T19:25:11.301Z","0.0.0":"2014-06-13T19:25:11.301Z","0.1.0":"2014-06-18T05:02:41.908Z","0.2.0":"2014-06-18T19:00:35.939Z","0.3.0":"2014-09-08T04:32:24.363Z","1.0.0":"2018-10-21T02:06:30.337Z","1.0.1":"2018-10-21T02:17:38.605Z"},"homepage":"https://github.com/jshttp/media-typer#readme","repository":{"type":"git","url":"git+https://github.com/jshttp/media-typer.git"},"author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"bugs":{"url":"https://github.com/jshttp/media-typer/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mojaray2k":true,"shanewholloway":true},"_etag":"W/\"9ad86d0d51e038fdfebe4aea5d617f12\"","_lastModified":"Sun, 21 Oct 2018 02:17:42 GMT"}