{"name":"vscode-html-languageservice","version":"4.2.2","description":"Language service for HTML","main":"./lib/umd/htmlLanguageService.js","typings":"./lib/umd/htmlLanguageService","module":"./lib/esm/htmlLanguageService.js","author":{"name":"Microsoft Corporation"},"repository":{"type":"git","url":"git+https://github.com/Microsoft/vscode-html-languageservice.git"},"license":"MIT","bugs":{"url":"https://github.com/Microsoft/vscode-html-languageservice"},"devDependencies":{"@types/mocha":"^9.1.0","@types/node":"^10.12.21","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","@vscode/web-custom-data":"^0.3.8","eslint":"^8.7.0","js-beautify":"^1.14.0","mocha":"^9.2.0","rimraf":"^3.0.2","typescript":"^4.5.5"},"dependencies":{"vscode-languageserver-textdocument":"^1.0.3","vscode-languageserver-types":"^3.16.0","vscode-nls":"^5.0.0","vscode-uri":"^3.0.3"},"scripts":{"prepublishOnly":"npm run clean && npm run compile-esm && npm run test && npm run remove-sourcemap-refs","postpublish":"node ./build/post-publish.js","compile":"tsc -p ./src && npm run copy-jsbeautify","compile-esm":"tsc -p ./src/tsconfig.esm.json","watch":"tsc -w -p ./src && npm run copy-jsbeautify","clean":"rimraf lib","remove-sourcemap-refs":"node ./build/remove-sourcemap-refs.js","test":"npm run compile && mocha ./lib/umd/test/*.js && npm run lint","lint":"eslint src/**/*.ts","install-types-next":"yarn add vscode-languageserver-types@next -f -S && yarn add vscode-languageserver-textdocument@next -f -S","copy-jsbeautify":"node ./build/copy-jsbeautify.js","update-jsbeautify":"yarn add js-beautify && node ./build/update-jsbeautify.js","update-jsbeautify-next":"yarn add js-beautify@next && node ./build/update-jsbeautify.js","update-data":"yarn add @vscode/web-custom-data -D && node ./build/generateData.js","preversion":"npm test","postversion":"git push && git push --tags"},"gitHead":"8755ec21c94d254ac145e679ff543daf88d3eaaf","homepage":"https://github.com/Microsoft/vscode-html-languageservice#readme","_id":"vscode-html-languageservice@4.2.2","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-4ICwlpplGbiNQq6D/LZr4qLbPZuMmnSQeX/57UAYP7jD1LOvKeru4lVI+f6d6Eyd7uS46nLJ5DUY4AAlq35C0g==","shasum":"e580b8f22b1b8c1dc0d6aaeda5a861f8b4120e4e","tarball":"http://registry-npm.ywwl.com/vscode-html-languageservice/download/vscode-html-languageservice-4.2.2.tgz","fileCount":79,"unpackedSize":1564279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFVBzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDBQ/8DAjz1N7C1QLTK3C9oS8jlfCvkGMc7vhUbpu34K93duU1gvRE\r\njGAQSneFAP6UjR1duF6yKB8gbWlPJ105a/WKYl8/awZA+I1/1ZpKv0kJvmlN\r\n2upUMHcd33xXw7BXDTyofkl28rdOMC9Xu/iLXDOEI/7FtesimAgLlW1Bc9bU\r\nAk/79THDZXKDuvVVGQ1cqKtAVBOE79liAYucxqifQFEsEr9R0BOdivt12OXb\r\nxRKRtTSS5S7KjlvMb7Gk89nhfEbraRG/BEhEG1rMNdt4pf5vIbgIttEgYf0b\r\nM9ibZOLbLO4de/yYh/6f0kmEZ9yRcjVJSsdddzeytdNk2QyP1WpTKb4TPzHr\r\n07oW2q6CzXVPHa9gCSHrqzw3O2mTsy6NXTIvkU9w5jjVIlYI03r9VluqKHbc\r\nwamxFsR/TEE7Lmb8tbeWMyvSC7qntDWGKFGe3/1B67HUBf97dvc0IfBqud92\r\nze0S/TedBfqptaSFHIsx97hJ1F+FKpXmKp73Aova16FcXGFJlyAqug7OBB4Y\r\nPAil5odpzDVuvAGLjYpRaNklNWrK2NUnz0NQ/s3l4FjI0VL8B3WV1tpqeMUI\r\ncYy8bcpjmwZNGQc7RLK2sl5QoWHZ4W/ZABBH7+E7QgPyoLOoOaOshZIuE2xI\r\niUxXaDOeiXwGl0f3ZrpS8MVUloR83Vvk2WQ=\r\n=wKdq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDs0FHfsD+X//NUz4m3uZXE1qFQakfArlX4wnVIkb+x8gIhAIkCaUkmM60lZJeXeT4mlILhy6b4O1Ozi1mw9I9ji7vV"}],"size":254069,"noattachment":false,"key":"/vscode-html-languageservice/-/vscode-html-languageservice-4.2.2.tgz"},"_npmUser":{"name":"aeschli","email":"martinae@microsoft.com"},"directories":{},"maintainers":[{"name":"egamma","email":"egamma@microsoft.com"},{"name":"alexandrudima","email":"alexdima@microsoft.com"},{"name":"aeschli","email":"martinae@microsoft.com"},{"name":"dbaeumer","email":"dirk.baeumer@gmail.com"},{"name":"joaomoreno.ms","email":"joao.moreno@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vscode-html-languageservice_4.2.2_1645564019267_0.3307744789471809"},"_hasShrinkwrap":false,"readme":"# vscode-html-languageservice\nHTML language service extracted from VSCode to be reused, e.g in the Monaco editor.\n\n[![npm Package](https://img.shields.io/npm/v/vscode-html-languageservice.svg?style=flat-square)](https://www.npmjs.org/package/vscode-html-languageservice)\n[![NPM Downloads](https://img.shields.io/npm/dm/vscode-html-languageservice.svg)](https://npmjs.org/package/vscode-html-languageservice)\n[![Build Status](https://github.com/microsoft/vscode-html-languageservice/actions/workflows/node.js.yml/badge.svg)](https://github.com/microsoft/vscode-html-languageservice/actions)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nWhy?\n----\n\nThe _vscode-html-languageservice_ contains the language smarts behind the HTML editing experience of Visual Studio Code\nand the Monaco editor.\n\n - *doComplete* / *doComplete2* (async) provide completion proposals for a given location.\n - *setCompletionParticipants* allows participant to provide suggestions for specific tokens.\n - *doHover* provides hover information at a given location.\n\n - *format* formats the code at the given range.\n - *findDocumentLinks* finds all links in the document.\n - *findDocumentSymbols* finds all the symbols in the document.\n - *getFoldingRanges* return folding ranges for the given document.\n - *getSelectionRanges* return the selection ranges for the given document.\n ...\n\n For the complete API see [htmlLanguageService.ts](./src/htmlLanguageService.ts) and [htmlLanguageTypes.ts](./src/htmlLanguageTypes.ts)\n\nInstallation\n------------\n\n    npm install --save vscode-html-languageservice\n\nDevelopment\n-----------\n\n- clone this repo, run `npm i``\n- `npm test` to compile and run tests\n\n\nHow can I run and debug the service?\n\n- open the folder in VSCode.\n- set breakpoints, e.g. in `htmlCompletion.ts`\n- run the Unit tests from the run viewlet and wait until a breakpoint is hit:\n![image](https://user-images.githubusercontent.com/6461412/94239202-bdad4e80-ff11-11ea-99c3-cb9dbeb1c0b2.png)\n\n\nHow can I run and debug the service inside an instance of VSCode?\n\n- run VSCode out of sources setup as described here: https://github.com/Microsoft/vscode/wiki/How-to-Contribute\n- link the folder of the `vscode-html-languageservice` repo to `vscode/extensions/html-language-features/server` to run VSCode with the latest changes from that folder:\n  - cd `vscode-html-languageservice`, `npm link`\n  - cd `vscode/extensions/html-language-features/server`, `npm link vscode-html-languageservice`\n- run VSCode out of source (`vscode/scripts/code.sh|bat`) and open a `.html` file\n- in VSCode window that is open on the `vscode-html-languageservice` sources, run command `Debug: Attach to Node process` and pick the `code-oss` process with the `html-language-features` path\n![image](https://user-images.githubusercontent.com/6461412/94239296-dfa6d100-ff11-11ea-8e30-6444cf5defb8.png)\n- set breakpoints, e.g. in `htmlCompletion.ts`\n- in the instance run from sources, invoke code completion in the `.html` file\n\n\nLicense\n-------\n\n(MIT License)\n\nCopyright 2016-2023, Microsoft\n\n`src/languageFacts/data/webCustomData.ts` (shipped as `lib/esm/languageFacts/data/webCustomData.ts` and `lib/umd/languageFacts/data/webCustomData.ts`)\nare built upon content from [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web) and distributed under CC BY-SA 2.5.\n","publish_time":1645564019482,"_cnpm_publish_time":1645564019482,"dist-tags":{"latest":"5.6.2","next":"6.0.0-next.2"}}