@chemzqm/solargraph-utils

Utilities for interacting with Solargraph

Usage no npm install needed!

<script type="module">
  import chemzqmSolargraphUtils from 'https://cdn.skypack.dev/@chemzqm/solargraph-utils';
</script>

README

solargraph-utils

A Node package for interacting with the Solargraph rubygem.

Example

import * as solargraph from 'solargraph-utils';
let config = new Solargraph.Configuration();
let server = new solargraph.Server(config);
server.start().then(() => {
    server.suggest('Str', 0, 3).then((response) => {
        console.log("The server's response: " + JSON.stringify(response));
        server.stop();
    });
});