Skip to content

Instantly share code, notes, and snippets.

@JerryWiltz
Last active May 30, 2019 00:32
Show Gist options
  • Save JerryWiltz/e3a62c63b614b503ca7802fc16820822 to your computer and use it in GitHub Desktop.
Save JerryWiltz/e3a62c63b614b503ca7802fc16820822 to your computer and use it in GitHub Desktop.
Get the version of nPort
license: gpl-3.0
height: 600
scrolling: yes
border: yes

nPort is in development. I wanted a way to verify the latest version. jsDelivr is the CDN.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://cdn.jsdelivr.net/gh/JerryWiltz/nP@master/dist/nP.js"></script>
<script>
var version = document.createElement('div');
version.innerHTML = 'Version is ' + nP.version;
document.body.appendChild(version);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment