0.1.1 • Published 10 years ago
checkhtml5 v0.1.1
使用checkhtml5来检测客户端是否支持html5 必须使用express框架后 var checkhtml5=require('checkhtml5'); app.use(checkhtml5); app.use("/Command-ErrorHtml5",function(request,response,next){ response.sendfile(__dirname+'/node_modules/checkhtml5/ErrorHtml5.html') });