byteball / ocore

Core library for Obyte
https://obyte.org
MIT License
144 stars 92 forks source link

run from path if process.mainModule is missing #259

Closed tarmo888 closed 4 years ago

tarmo888 commented 4 years ago

this would make commands like this to work:

curl -o- https://raw.githubusercontent.com/byteball/ocore/master/tools/replace_ops.js | node