This is a skeleton for a Javascript library.
npm install
npm run build
import { inspire } from "myLibrary";
console.log(inspire());
<!DOCTYPE html>
<html>
<head>
<script src="myLibrary.js"></script>
</head>
<body>
<script>
console.log(myLibrary.inspire());
</script>
</body>
</html>
npm install myLibrary