
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
beancount-lsp-server
Advanced tools
Language server for Beancount files with customizable tree-sitter WASM file path
A Language Server Protocol (LSP) implementation for Beancount using by beancount-lsp extension
The Beancount LSP Server provides intelligent features for Beancount files, including diagnostics, completions, hover information, and navigation capabilities etc...
pnpm add @beancount/lsp-server
The LSP server can be used programmatically in your JavaScript/TypeScript application or as a standalone process.
import { BeancountLSPServer } from '@beancount/lsp-server';
import { createConnection, ProposedFeatures } from 'vscode-languageserver/node';
// Create a connection to the client
const connection = createConnection(ProposedFeatures.all);
// Create the Beancount LSP server
const server = new BeancountLSPServer({
connection,
// Additional initialization options
});
// Start the server
server.start();
When initializing the Beancount LSP server, you can provide the following parameters:
connection: The LSP connection created from vscode-languageserver.webTreeSitterWasmPath: Path to the WebAssembly binary for Tree-sitter parsing.extensionUri: URI string for the extension's location. which contain pythonFiles directory and python files neededClients can configure the server by providing initialization options when creating the language client:
// Connect to the server
const client = new LanguageClient(
'beancountLanguageServer',
'Beancount Language Server',
{
run: {
module: '@beancount/lsp-server',
transport: TransportKind.ipc,
},
debug: {
module: '@beancount/lsp-server',
transport: TransportKind.ipc,
options: {
execArgv: ['--nolazy', '--inspect=6009'],
},
},
},
{
documentSelector: [{ scheme: 'file', language: 'beancount' }],
synchronize: {
fileEvents: workspace.createFileSystemWatcher('**/*.bean'),
},
initializationOptions: {
webTreeSitterWasmPath: '/path/to/tree-sitter-wasm',
extensionUri: extensionUri.toString(),
},
},
);
// Start the client
client.start();
Contributions are welcome! Please feel free to submit a Pull Request.
FAQs
Language server for Beancount files with customizable tree-sitter WASM file path
The npm package beancount-lsp-server receives a total of 0 weekly downloads. As such, beancount-lsp-server popularity was classified as not popular.
We found that beancount-lsp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.