{"name":"vscode-uri","author":{"name":"Microsoft"},"version":"3.0.0","description":"The URI implementation that is used by VS Code and its extensions","main":"./lib/umd/index.js","typings":"./lib/umd/index","module":"./lib/esm/index.js","sideEffects":false,"scripts":{"clean":"rimraf lib","pack-production":"webpack --mode=production","pack-dev":"webpack","prepublish":"npm run test && npm run clean && npm run pack-production","test":"tsc -p ./src && npm run pack-dev && mocha"},"repository":{"type":"git","url":"git+https://github.com/microsoft/vscode-uri.git"},"license":"MIT","bugs":{"url":"https://github.com/microsoft/vscode-uri/issues"},"homepage":"https://github.com/microsoft/vscode-uri#readme","devDependencies":{"@purtuga/esm-webpack-plugin":"^1.4.0","@types/mocha":"^8.0.3","@types/node":"^10.12.21","mocha":"8.1.3","rimraf":"^3.0.2","ts-loader":"^8.0.4","typescript":"^4.0.3","webpack":"^4.44.2","webpack-cli":"^3.3.12"},"gitHead":"2fa017b3d015e3991708a5a869bf248347bd2fd9","_id":"vscode-uri@3.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-boWPjBN8UPv8/9OnEGumoXgIVreVjs3RyqULtfHC3GRT1aCnaotYRKOhZERmaMsCVVt6nPmmI/ec7i1FH2kctw==","shasum":"a881b16614999d97e71d5d29ea453d4f8c19499d","tarball":"http://registry-npm.ywwl.com/vscode-uri/download/vscode-uri-3.0.0.tgz","fileCount":12,"unpackedSize":172710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf20e2CRA9TVsSAnZWagAAbwYP/0xtEzE/Q4feFynN2q5s\nz29VCQF5F8Kyu72dhgGJpQTmVzvTz1/XUm3jVAG1xWZWNMUgR8+FGFO6e8iK\nhleSBdlB44dfWe5VM35GZsSvnGjrQRLWCui37FMWTgwxqT2RzS0jLWkrrpiq\n2iC3P/9xf4b66aNK9pJxTV1+CJdKZ1fkL0nuIe3W1d+yz0kW18eIB0p+ZfGP\nRHWAtZ2FduznQ+CLtAyW79QgSTT0Su/9y0pIahFT4rteUYX/oo6ks93cAw/S\nffaqQTQiJUlSt7QlPZrGRCjvXmroifCrvLN4WVktuOTpIXAR+pP4cCV5bL5X\naMqXmbsaKvvQzNpdDrvas7kDmKYYnubi9jyruo6ESmsei1EVBb703G7hV6yp\nDW5Yvn7RToVEMwV/ZDnQYlUkIMvrJh+qk6pmO5HESehpMeX54W7n+dM8b/dd\nZBYhuvHIOabiJSViWW/SeKj9hLBLBRsNkVVduZcJQ7eQzaWitl1ExQJ2Kai5\nR+sKfHs7REGKOBRQx8glOA6frQgWcR0ELqWrVyClbPelSbO14aq59m/izvlm\nT0GvZ4IG8W0qvDxqR0eTdrZXDQyrrirrtvZExj1t8kA447MlMHHufVrFHShA\ncIUqQ1rX8ys+guKN5v3Ikgokhi4INZnULI1HLyvOnl+x4g3ctCZW/LZCO2kh\nyH2d\r\n=emcH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz2vCh2uhTTCcQC5Rfph60eKEy8bztKYhAlEMAQYQDpAIhAIdIZSEx+VJANJK7NZD4KAYF7Y5ANx4V4nMK0URNePHD"}],"size":50824,"noattachment":false,"key":"/vscode-uri/-/vscode-uri-3.0.0.tgz"},"_npmUser":{"name":"jrieken","email":"jrieken@microsoft.com"},"directories":{},"maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"jrieken","email":"jrieken@microsoft.com"},{"name":"egamma","email":"egamma@microsoft.com"},{"name":"aeschli","email":"martinae@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vscode-uri_3.0.0_1608206262193_0.4414011528978512"},"_hasShrinkwrap":false,"readme":"## vscode-uri\n\n[![Build Status](https://travis-ci.org/Microsoft/vscode-uri.svg?branch=master)](https://travis-ci.org/Microsoft/vscode-uri)\n\nThis module contains the URI implementation that is used by VS Code and its extensions. \nIt has support for parsing a string into `scheme`, `authority`, `path`, `query`, and\n`fragment` URI components as defined in: http://tools.ietf.org/html/rfc3986\n\n```\n  foo://example.com:8042/over/there?name=ferret#nose\n  \\_/   \\______________/\\_________/ \\_________/ \\__/\n   |           |            |            |        |\nscheme     authority       path        query   fragment\n   |   _____________________|__\n  / \\ /                        \\\n  urn:example:animal:ferret:nose\n```\n\n## Usage\n\n```js\nimport { URI } from 'vscode-uri'\n\n// parse an URI from string\n\nlet uri = URI.parse('https://code.visualstudio.com/docs/extensions/overview#frag')\n\nassert.ok(uri.scheme === 'https');\nassert.ok(uri.authority === 'code.visualstudio.com');\nassert.ok(uri.path === '/docs/extensions/overview');\nassert.ok(uri.query === '');\nassert.ok(uri.fragment === 'frag');\nassert.ok(uri.toString() === 'https://code.visualstudio.com/docs/extensions/overview#frag')\n\n\n// create an URI from a fs path\n\nlet uri = URI.file('/users/me/c#-projects/');\n\nassert.ok(uri.scheme === 'file');\nassert.ok(uri.authority === '');\nassert.ok(uri.path === '/users/me/c#-projects/');\nassert.ok(uri.query === '');\nassert.ok(uri.fragment === '');\nassert.ok(uri.toString() === 'file:///users/me/c%23-projects/')\n```\n\n## Usage: Util\n\nThis module also exports a `Utils` package which is an extension, not part of `vscode.Uri`, and useful for path-math. There is: \n\n* `Utils.joinPath(URI, paths): URI`\n* `Utils.resolvePath(URI, paths): URI`\n* `Utils.dirname(URI): string`\n* `Utils.basename(URI): string`\n* `Utils.extname(URI): string`\n\nAll util use posix path-math as defined by the node.js path module. \n\n\n## Contributing\n\nThe source of this module is taken straight from the [vscode](https://github.com/microsoft/vscode)-sources and because of that issues and pull request should be created in that repository. Thanks and Happy Coding!\n\n## Code of Conduct\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","publish_time":1608206262387,"_cnpm_publish_time":1608206262387,"dist-tags":{"latest":"3.2.0"}}