1.0.2 • Published 4 years ago
@ideal-postcodes/capitalise-post-town-bundled v1.0.2
JavaScript browser bundles for capitalise-town-town
This package exports polyfilled, minified copies of capitalise-post-town
in various formats available on npm and various JavaScript CDNs. It can be readily dropped in on a page.
This package is a transpiled copy of capitalise-post-town
.
Download
Latest and pinned versions of each bundle can be downloaded from jsdelivr.com.
Latest Versions
Documentation
Usage
UMD
<script src="https://cdn.jsdelivr.net/npm/@ideal-postcodes/capitalise-post-town-bundled/dist/umd.min.js"></script>
<script>
var capitalisePostTown = IdealPostcodes.capitalisePostTown;
capitalisePostTown("LONDON"); // => "London"
</script>
ES Module
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@ideal-postcodes/capitalise-post-town-bundled/dist/esm.min.js"></script>
<script type="module">
import { capitalisePostTown } from "https://cdn.jsdelivr.net/npm/@ideal-postcodes/capitalise-post-town-bundled/dist/esm.min.js";
capitalisePostTown("LONDON"); // => "London"
</script>
Licence
MIT