@ideal-postcodes/capitalise-post-town-bundled

1.0.2 • Public • Published

Capitalise Post Town Bundled

JavaScript browser bundles for capitalise-town-town

npm version jscdn CI Release

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

Package Sidebar

Install

npm i @ideal-postcodes/capitalise-post-town-bundled

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

6.52 kB

Total Files

5

Last publish

Collaborators