Port of https://github.com/yejianye/cdnjs-cli to NodeJS