MCPcopy Index your code
hub / github.com/ekalinin/nodeenv / print_node_versions

Function print_node_versions

nodeenv.py:1032–1041  ·  view source on GitHub ↗

Prints into stdout all available node.js versions

()

Source from the content-addressed store, hash-verified

1030
1031
1032def print_node_versions():
1033 """
1034 Prints into stdout all available node.js versions
1035 """
1036 versions = get_node_versions()
1037 chunks_of_8 = [
1038 versions[pos:pos + 8] for pos in range(0, len(versions), 8)
1039 ]
1040 for chunk in chunks_of_8:
1041 logger.info('\t'.join(chunk))
1042
1043
1044def _get_last_node_version(lts=False):

Callers 1

mainFunction · 0.85

Calls 1

get_node_versionsFunction · 0.85

Tested by

no test coverage detected