@ideal-postcodes/uk-clear-addressing-bundled
v1.0.0
Published
Bundles uk-clear-addressing for browser consumption
Downloads
29
Maintainers
Readme
JavaScript browser bundles for uk-clear-addressing
This package exports polyfilled, minified copies of uk-clear-addressing
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 uk-clear-addressing
.
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/uk-clear-addressing-bundled@1"></script>
<script>
var Address = IdealPostcodes.default.Address;
let address = new Address({
postcode: "WS11 5SB",
post_town: "CANNOCK",
thoroughfare: "Pye Green Road",
building_name: "Flower House 189A",
organisation_name: "S D Alcott Florists",
});
</script>
ES Module
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@ideal-postcodes/uk-clear-addressing-bundled@1/dist/esm.min.js"
></script>
<script type="module">
import IdealPostcodes from "https://cdn.jsdelivr.net/npm/@ideal-postcodes/uk-clear-addressing-bundled/dist/esm.min.js";
let address = new IdealPostcodes.Address({
postcode: "WS11 5SB",
post_town: "CANNOCK",
thoroughfare: "Pye Green Road",
building_name: "Flower House 189A",
organisation_name: "S D Alcott Florists",
});
</script>
Licence
MIT