Get started with ClientJS CDN
Apache-2.0 licensed
ClientJS is a lightweight library for handling client-side form validations and manipulations.
Tags:- browser
- fingerprint
- client
- info
- pure
- javascript
Stable version
Copied!
How to start using ClientJS CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with ClientJS CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/ClientJS/0.2.1/client.min.js"></script>
</head>
<body>
<button id="add">Add numbers</button>
<script>
const add = document.getElementById('add');
const client = new ClientJS();
add.addEventListener('click', () => {
const num1 = ClientJS.int(5);
const num2 = ClientJS.int(7);
const sum = client.add(num1, num2);
console.log('Sum:', sum.value());
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!