ssrp
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

node-ssrp

An implementation of the SQL Server Resolution protocol.

const { listInstances } = require('ssrp');
 
const instances = await listInstances({ address: "192.168.0.4", family: 4 });
if (instances.length === 0) {
  console.log("Found no SQLServer instances.");
  return;
}
 
console.log("Found the following SQLServer instances:");
for (let i = 0, length = instances.length; i < length; i++) {
  console.log(`${instance.instanceName} - ${instance.version}`);
}

Readme

Keywords

none

Package Sidebar

Install

npm i ssrp

Weekly Downloads

0

Version

3.0.0

License

ISC

Unpacked Size

51.2 kB

Total Files

8

Last publish

Collaborators

  • arthurschreiber