{"name":"vscode-html-languageservice","version":"2.1.12","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":"2.2.33","@types/node":"^8.10.25","cpy-cli":"^2.0.0","js-beautify":"^1.9.0-beta5","mocha":"^5.2.0","remark":"^10.0.1","rimraf":"^2.6.2","strip-markdown":"^3.0.3","tslint":"^5.11.0","typescript":"^3.0.3"},"dependencies":{"vscode-languageserver-types":"^3.13.0","vscode-nls":"^4.0.0","vscode-uri":"^1.0.6"},"scripts":{"prepublishOnly":"npm run clean && npm run compile-esm && npm run test","postpublish":"node ./build/post-publish.js","compile":"tsc -p ./src && cpy ./src/beautify/*.js ./lib/umd/beautify","compile-esm":"tsc -p ./src/tsconfig.esm.json && cpy ./src/beautify/esm/*.js ./lib/esm/beautify","watch":"cpy ./src/beautify/*.js ./lib/umd/beautify && tsc -w -p ./src","clean":"rimraf lib","test":"npm run compile && mocha && npm run lint","lint":"tslint src/**/*.ts","install-types-next":"npm install vscode-languageserver-types@next -f -S","update-jsbeautify":"npm install js-beautify && node ./build/update-jsbeautify.js","update-jsbeautify-next":"npm install js-beautify@next && node ./build/update-jsbeautify.js","preversion":"npm test","postversion":"git push && git push --tags"},"gitHead":"9c2ed1bfbf9ee2436fdccc0649871c87e3d2ca65","homepage":"https://github.com/Microsoft/vscode-html-languageservice#readme","_id":"vscode-html-languageservice@2.1.12","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"aeschli","email":"martinae@microsoft.com"},"dist":{"integrity":"sha512-mIb5VMXM5jI97HzCk2eadI1K//rCEZXte0wBqA7PGXsyJH4KTyJUaYk9MR+mbfpUl2vMi3HZw9GUOLGYLc6l5w==","shasum":"b4f9e23cac6fea74d4c9825fb4a4ef9bf313785e","tarball":"http://registry-npm.ywwl.com/vscode-html-languageservice/download/vscode-html-languageservice-2.1.12.tgz","fileCount":81,"unpackedSize":1432355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm0MMCRA9TVsSAnZWagAAZxUP+wabva4Ae7ZIM+13gIJU\n8DBb/o7KFvWYtkA06UGQNTnUMFt8j2kArj/38G6X5yFAexk8QtFe3U0Ezlst\n20oBVe1xleyIQWecPhB5eptyCdbtorRzQ5exaPBASXq17xVuCqX+e8+ObzU8\nHx0Hvh6ytizkinyfRorXnNaLHFqakgcEoXPLxWHntqXtG4PYQzJdrz8yPGJd\nI75KySZkrvBR3IMlt9hiSQOLmrFlkJXUsVx/P4Kre4aIW7C2V9YJHUXD3fjI\nDLoF2GJCaIbFXrEcf9jMFYHUGMJw3pGPdDYN93Xq94i4IokGbZtPDmQhQt+1\nrop5FkDQXppyTNRqI6dW/CDdLIfaxf28UqLGQFCjWwjQCVsTvcU1eeQ2PTOy\nsiq4L1+lzE4cvdqKPmo8L+x+hFsR3dV0qHaV7uREQQ5XzYcUVDKtcr+kGn4E\nquTUL/Nw15mlKGn3DIG/dG1lsQ9oXDMeyxYmahoSiKK7vLWvlxaajoeuHaBe\n6AgL48fBYn+GhCGVBIx320JYqlCRbwynMZ819t9UUb3jIFjjJyWrQIqMWcui\nTop60MXdvwc6csECw5WL9oKnR/pY9T3YUG9cucf0Xf5r4sRrWXGwVsAw/ah2\n+RDRTvHMDVbMp265/pPuSD4kOXd/l2K2SJqg5jSwg715AugcAEnc9GSZlFcw\noLT/\r\n=6FLs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIGg/QsL4LLyoSixoup8gflW1vDzwFVv9sOooAHzjM6LyAh8u8uU10DLtk0wp5/dfKXaBJpst9RVXtXWF1jeO1LPq"}],"size":284263,"noattachment":false,"key":"/vscode-html-languageservice/-/vscode-html-languageservice-2.1.12.tgz"},"maintainers":[{"email":"martinae@microsoft.com","name":"aeschli"},{"email":"alexdima@microsoft.com","name":"alexandrudima"},{"email":"dirk.baeumer@gmail.com","name":"dbaeumer"},{"email":"egamma@microsoft.com","name":"egamma"},{"email":"joao.moreno@microsoft.com","name":"joaomoreno.ms"},{"email":"npmjs@microsoft.com","name":"microsoft"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vscode-html-languageservice_2.1.12_1553679116314_0.5233295914735441"},"_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":1553679116521,"_cnpm_publish_time":1553679116521,"dist-tags":{"latest":"5.6.2","next":"6.0.0-next.2"}}