{"_id":"@chasket/chasket-lsp","_rev":"3-8ef4617fc58e31dce2f4ec8f5e5c83ea","name":"@chasket/chasket-lsp","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.0":{"name":"@chasket/chasket-lsp","version":"0.2.0","keywords":["chasket","lsp","language-server"],"author":{"name":"Aspect"},"license":"MIT","_id":"@chasket/chasket-lsp@0.2.0","maintainers":[{"name":"umeko_ultraego","email":"harudaoo305@gmail.com"}],"homepage":"https://github.com/UltraEgoist/chasket#readme","bugs":{"url":"https://github.com/UltraEgoist/chasket/issues"},"bin":{"chasket-lsp":"bin/chasket-lsp.js"},"dist":{"shasum":"03f2e405af39355a78b59124f08d54026fb8a3fa","tarball":"https://registry.npmjs.org/@chasket/chasket-lsp/-/chasket-lsp-0.2.0.tgz","fileCount":5,"integrity":"sha512-0riNgAzBU/MNQ51KbBUzaEkLCxh6RZhNjmQKzjebfhX9I9R35+kCUO1FJe++7XEhG+XAuiLrDV5eDHPdF2nSKA==","signatures":[{"sig":"MEYCIQDrXA5FbDe2sh7LoUM3LzYtft1QcrtiHoM7CFpJSld13gIhAIv+nLyTQVTWwUGwahWcZqULepfj9mrqS6efHwIzdAP3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40935},"main":"server.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"267a8699af8811a2d02b48c6d628ad579ef3ab20","scripts":{"test":"node --test test/lsp.test.js","start":"node bin/chasket-lsp.js --stdio"},"_npmUser":{"name":"umeko_ultraego","email":"harudaoo305@gmail.com"},"repository":{"url":"git+https://github.com/UltraEgoist/chasket.git","type":"git"},"_npmVersion":"11.5.2","description":"Language Server Protocol implementation for Chasket","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/chasket-lsp_0.2.0_1774709520336_0.4523348439542507","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@chasket/chasket-lsp","version":"0.2.1","keywords":["chasket","lsp","language-server"],"author":{"name":"Aspect"},"license":"MIT","_id":"@chasket/chasket-lsp@0.2.1","maintainers":[{"name":"umeko_ultraego","email":"harudaoo305@gmail.com"}],"homepage":"https://github.com/UltraEgoist/chasket#readme","bugs":{"url":"https://github.com/UltraEgoist/chasket/issues"},"bin":{"chasket-lsp":"bin/chasket-lsp.js"},"dist":{"shasum":"225927adda2f1f2ab958aa2c8036a32018093e0f","tarball":"https://registry.npmjs.org/@chasket/chasket-lsp/-/chasket-lsp-0.2.1.tgz","fileCount":5,"integrity":"sha512-g2Z8WSYMTnD5DBeZPvnrouqcxolexJfsaeq2ewlwGhuzWWQyz6GFMC7o0oX4GOpf1M/kDXdxU0PFQU3h1ZzjDw==","signatures":[{"sig":"MEQCICSm9VkbmJpjlLn+iVRNRFhGzKYpRA5avuqmPadN5NfmAiAuuuiuaXfwIiE1z2Hu6tsEo/UvxJKwgHMxYxAUnl5fRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40935},"main":"server.js","types":"index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"5d7e62c16c56945ae0a8754a82690b0d0ac8d157","scripts":{"test":"node --test test/lsp.test.js","start":"node bin/chasket-lsp.js --stdio"},"_npmUser":{"name":"umeko_ultraego","email":"harudaoo305@gmail.com"},"repository":{"url":"git+https://github.com/UltraEgoist/chasket.git","type":"git"},"_npmVersion":"11.5.2","description":"Language Server Protocol implementation for Chasket","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/chasket-lsp_0.2.1_1774751607615_0.02535494689467921","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@chasket/chasket-lsp","version":"0.2.2","description":"Language Server Protocol implementation for Chasket","main":"server.js","bin":{"chasket-lsp":"bin/chasket-lsp.js"},"scripts":{"test":"node --test test/lsp.test.js","start":"node bin/chasket-lsp.js --stdio"},"keywords":["chasket","lsp","language-server"],"license":"MIT","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/UltraEgoist/chasket.git"},"homepage":"https://github.com/UltraEgoist/chasket#readme","bugs":{"url":"https://github.com/UltraEgoist/chasket/issues"},"author":{"name":"Aspect"},"engines":{"node":">=18.0.0"},"types":"index.d.ts","_id":"@chasket/chasket-lsp@0.2.2","gitHead":"a445bbebec4054ef982a52b32efc8e9c2890c470","_nodeVersion":"24.14.0","_npmVersion":"11.5.2","dist":{"integrity":"sha512-LzkFnwALpHg1GaU72qgM0zA4sX4c9JFcGB7mS9XP+UzvKL9pUaIuv+ToIxYc2/IqGFEUKf6vmdANtQQGIsQWdA==","shasum":"62d6b497514dd2be5b11cb0c8147fa689839b89f","tarball":"https://registry.npmjs.org/@chasket/chasket-lsp/-/chasket-lsp-0.2.2.tgz","fileCount":5,"unpackedSize":40992,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAXsPIQsqAePuATzkqR5k9AI0aO0wLmKcl/9PSZ6PDLDAiEAlVDQ4G6VJXjU3xM0wckueWIS3n42DiUyLuxcGJRspZs="}]},"_npmUser":{"name":"umeko_ultraego","email":"harudaoo305@gmail.com"},"directories":{},"maintainers":[{"name":"umeko_ultraego","email":"harudaoo305@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chasket-lsp_0.2.2_1774796699851_0.7579255369954654"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-28T14:52:00.173Z","modified":"2026-03-29T15:05:00.145Z","0.2.0":"2026-03-28T14:52:00.509Z","0.2.1":"2026-03-29T02:33:27.749Z","0.2.2":"2026-03-29T15:04:59.994Z"},"bugs":{"url":"https://github.com/UltraEgoist/chasket/issues"},"author":{"name":"Aspect"},"license":"MIT","homepage":"https://github.com/UltraEgoist/chasket#readme","keywords":["chasket","lsp","language-server"],"repository":{"type":"git","url":"git+https://github.com/UltraEgoist/chasket.git"},"description":"Language Server Protocol implementation for Chasket","maintainers":[{"name":"umeko_ultraego","email":"harudaoo305@gmail.com"}],"readme":"# @chasket/chasket-lsp\n\n> Part of the [Chasket](https://chasket.dev) ecosystem.\n\nLanguage Server Protocol implementation for Chasket. Provides diagnostics, completions, hover, go-to-definition, and formatting for `.csk` files in any LSP-compatible editor.\n\nZero dependencies.\n\n## Installation\n\n```bash\nnpm install @chasket/chasket-lsp\n```\n\n## Usage\n\n### stdio mode (default)\n\n```bash\nnpx chasket-lsp --stdio\n```\n\n### From Node.js\n\n```javascript\nconst { createServer } = require('@chasket/chasket-lsp');\nconst server = createServer(process.stdin, process.stdout);\nserver.start();\n```\n\n## Editor setup\n\n### VSCode\n\nInstall the [chasket-vscode](https://github.com/UltraEgoist/chasket/tree/main/chasket-vscode) extension. It automatically starts the LSP server when available.\n\n### Neovim (nvim-lspconfig)\n\n```lua\nlocal lspconfig = require('lspconfig')\nlocal configs = require('lspconfig.configs')\n\nconfigs.csk = {\n  default_config = {\n    cmd = { 'npx', 'chasket-lsp', '--stdio' },\n    filetypes = { 'chasket' },\n    root_dir = lspconfig.util.root_pattern('chasket.config.json', 'package.json'),\n  },\n}\n\nlspconfig.csk.setup {}\n```\n\n### Sublime Text (LSP package)\n\n```json\n{\n  \"clients\": {\n    \"chasket\": {\n      \"command\": [\"npx\", \"chasket-lsp\", \"--stdio\"],\n      \"selector\": \"source.chasket\"\n    }\n  }\n}\n```\n\n## Capabilities\n\n| Feature | Description |\n|---------|-------------|\n| Diagnostics | Real-time error and warning reporting |\n| Completions | State, prop, computed, and method suggestions |\n| Hover | Type info and documentation on hover |\n| Go to definition | Jump to symbol definitions within `.csk` files |\n| Formatting | Auto-format `.csk` files |\n| Document symbols | Outline view of components |\n\n## Part of the Chasket ecosystem\n\nThis package is part of [Chasket](https://www.npmjs.com/package/@chasket/chasket), a template-first Web Component compiler.\n\n## License\n\n[MIT](../LICENSE)\n","readmeFilename":"README.md"}