{"size": 258, "ext": "js", "max_stars_repo_path": "src/utils/getRpcUrl.js", "max_stars_repo_name": "skeletonking1/nft-minting", "max_stars_repo_stars_event_min_datetime": "2022-01-17T22:00:26.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-17T22:00:26.000Z", "max_issues_repo_path": "src/utils/getRpcUrl.js", "max_issues_repo_name": "skeletonking1/nft-minting", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/utils/getRpcUrl.js", "max_forks_repo_name": "skeletonking1/nft-minting", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.4285714286, "max_line_length": 41, "alphanum_fraction": 0.7054263566}
import sample from 'lodash/sample'

// Array of available nodes to connect to
export const nodes = [
  "https://main-light.eth.linkpool.io/",
  "https://nodes.pancakeswap.com"
]

const getNodeUrl = () => {
  return sample(nodes)
}

export default getNodeUrl
