XML Language Server
Current Features:
- Syntax Diagnostics.
With npm:
npm install @xml-tools/language-server
With Yarn
yarn add @xml-tools/language-server
Please see the TypeScript Definitions for full API details.
A simple usage example:
const { SERVER_PATH } = require("@xml-tools/language-server");
// SERVER_PATH is the only API currently and it is meant to expose the "main" module's absolute
// path which would then be executed in a different process
console.log(SERVER_PATH); // --> .../node_module/@xml-tools/language-server/lib/server.js
Please open issues on github.
See CONTRIBUTING.md.