Symbol-Node-Util Module
npm install symbol-node-utilThis module retrieves the active node of the blockchain Symbol
```
npm install symbol-node-util
or
yarn add symbol-node-util
.ts
`
import { getActiveNode } from "symbol-node-util";
(async ()=>{
const node = await getActiveNode(152);
console.log(node);
})()
`
``
npx ts-node index.ts
.js
`
const nodeUtil = require("symbol-node-util");
(async() => {
const node = await nodeUtil.getActiveNode(104);
console.log(node);
})()
`
```
node index.js
- getActiveNode(NetworkType: number): Promise\