Skip to content

yxue/cdn_check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdn-check

Check content differences between CDN servers and host server (in node.js)

install

npm install cdn-check

Usage

const cdnck = require('cdn-check');

var p = cdnck.check('0.0.0.0', 'a.b.c', ['1.1.1.1', '2.2.2.2'], ['html', 'css', 'js'], false)
p.then((data)=>{
    // ... handle here    
});

API

check(ip: string, domain: string, dnsip: string[], checktype: string[], saveFile: boolean) => Promise

Get the differences between cdn servers and host server

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published