Get started with babel-standalone CDN

MIT licensed

Babel-standalone: Compiles modern JS features in real-time for older browsers, no setup needed.

Tags:
  • babel
  • babeljs
  • 6to5
  • transpile
  • transpiler

Stable version

Copied!

How to start using babel-standalone CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with babel-standalone CDN - cdnhub.io</title>
  <script src="https://cdn.cdnhub.io/babel-standalone/7.24.0/babel.min.js"></script>
</head>
<body>
  <script type="text/babel">
    // Transpile this code using Babel
    const add = (a, b) => a + b;

    const result = add(5, 3);
    console.log(result); // Output: 8
  </script>
</body>
</html>
Copied!
Copied!

All versions