{"name":"prepend-http","version":"1.0.2","description":"Prepend http:// to humanized URLs like todomvc.com and localhost","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/prepend-http"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["protocol","scheme","url","uri","prepend","http"],"devDependencies":{"ava":"0.0.4"},"gitHead":"f98628eedc069f33a0c4afcab74e072b72b6e51a","bugs":{"url":"https://github.com/sindresorhus/prepend-http/issues"},"homepage":"https://github.com/sindresorhus/prepend-http","_id":"prepend-http@1.0.2","_shasum":"4eefdfe40f99ac9256fdb8a1e5cb80ecddfc669e","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4eefdfe40f99ac9256fdb8a1e5cb80ecddfc669e","tarball":"http://registry-npm.ywwl.com/prepend-http/download/prepend-http-1.0.2.tgz","integrity":"sha512-NR7XVuyrGfnQ8DYdFliblC7SR2mnLKhJzvBFx6OBL24eKaRtK/pd98yA4vO+swKTrDoWG97JJi7uikgdwhMRfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ+ZTS5/iobSgb+zQyXV+ML0jHuCcGaMjSCQM7ZfocJwIgZUXUqZnu5bFJN8maMnNYPJn+jK7a0N3GC5o8UDRfhcY="}],"size":1527,"noattachment":false,"key":"/prepend-http/-/prepend-http-1.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# prepend-http\n\n> Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`\n\n## Install\n\n```\n$ npm install prepend-http\n```\n\n## Usage\n\n```js\nimport prependHttp from 'prepend-http';\n\nprependHttp('sindresorhus.com');\n//=> 'https://sindresorhus.com'\n\nprependHttp('localhost', {https: false});\n//=> 'http://localhost'\n\nprependHttp('https://sindresorhus.com');\n//=> 'https://sindresorhus.com'\n```\n\n## API\n\n### prependHttp(url, options?)\n\n#### url\n\nType: `string`\n\nThe URL to prepend `https://` to.\n\n#### options\n\nType: `object`\n\n##### https\n\nType: `boolean`\\\nDefault: `true`\n\nPrepend `https://` instead of `http://`.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-prepend-http?utm_source=npm-prepend-http&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","publish_time":1437658403201,"_cnpm_publish_time":1437658403201,"dist-tags":{"latest":"4.0.0"}}