Utility to download files from public CDN (CDNJS/jsDelivr/UNPKG/Google)
Project description
Utility to download files from public CDN:
CDNJS (https://cdnjs.com)
jsDelivr (https://www.jsdelivr.com)
UNPKG (https://unpkg.com)
Google (https://ajax.googleapis.com)
Example:
$ cdnget # list public CDN names $ cdnget cdnjs # list libraries $ cdnget cdnjs jquery # list versions $ cdnget cdnjs jquery latest # show latest version $ cdnget cdnjs jquery 2.2.4 # list files $ mkdir -p static/lib # create a directory $ cdnget cdnjs jquery 2.2.4 static/lib # download files $ find static/lib -type f static/lib/jquery/2.2.4/jquery.min.js static/lib/jquery/2.2.4/jquery.min.map static/lib/jquery/2.2.4/jquery.js
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdnget-1.1.0.tar.gz
(14.8 kB
view hashes)