1.6.1 • Published 1 year ago
@expressexam/browser-support v1.6.1
ExpressExam.BrowserSupport
This package provides urls for getting browser support information. To use this call the getSupportUrl() function on the browser support service, and make a get request to the returned url. Ensure the user agent string is in the User-Agent header.
For hitting other endpoints call the getServerUrl() function. this will return the url ending with /api/. you can visit https://browsersupport.quick-renew.com/swagger for documentation on the endpoints provided.
The npm package is hoted on npmjs.com as @expressexam/browser-support
Usage from raw JavaScript
<html>
<head>
<script src="./bundle.js"></script>
</head>
<body>
<script>
let svc = new window.BrowserSupportService.BrowserSupportService();
console.log('browserSupportUrl', svc.getSupportUrl());
</script>
</body>
</html>