npm.io
1.0.3 • Published 8 years ago

pyglobal

Licence
ISC
Version
1.0.3
Deps
0
Vulns
0
Weekly
0

pyglobal

pyglobal empowers us to use all global functions available in python.

usage

let pyglobal = require('pyglobal');

pyglobal.range(5);

// gives [ 0, 1, 2, 3, 4 ]

for(let r of pyglobal.range(5)){
	console.log(r);
}


pyglobal.max(5, 7);
// gives 7

This is still under dev and more stable versions to come in near future.