Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ideal-postcodes/capitalise-post-town-bundled

JavaScript browser bundles for capitalise-post-town
https://github.com/ideal-postcodes/capitalise-post-town-bundled

Last synced: 10 days ago
JSON representation

JavaScript browser bundles for capitalise-post-town

Awesome Lists containing this project

README

        


Capitalise Post Town Bundled

> JavaScript browser bundles for capitalise-town-town

[![npm version](https://badge.fury.io/js/%40ideal-postcodes%2Fcapitalise-post-town-bundled.svg)](https://badge.fury.io/js/%40ideal-postcodes%2Fcapitalise-post-town-bundled)
[![jscdn](https://badgen.net/jsdelivr/v/npm/@ideal-postcodes/capitalise-post-town-bundled)](https://cdn.jsdelivr.net/npm/@ideal-postcodes/capitalise-post-town-bundled/dist/)
![CI](https://github.com/ideal-postcodes/capitalise-post-town-bundled/workflows/CI/badge.svg)
![Release](https://github.com/ideal-postcodes/capitalise-post-town-bundled/workflows/Release/badge.svg)

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](#usage) on a page.

This package is a transpiled copy of [`capitalise-post-town`](https://github.com/ideal-postcodes/capitalise-post-town-bundled).

## Download

Latest and pinned versions of each bundle can be downloaded from [jsdelivr.com](https://www.jsdelivr.com).

### Latest Versions

- [umd.min.js@latest](https://cdn.jsdelivr.net/npm/@ideal-postcodes/capitalise-post-town-bundled/dist/umd.min.js)
- [esm.min.js@latest](https://cdn.jsdelivr.net/npm/@ideal-postcodes/capitalise-post-town-bundled/dist/esm.min.js)

## Documentation

### Usage

#### UMD

```html

var capitalisePostTown = IdealPostcodes.capitalisePostTown;
capitalisePostTown("LONDON"); // => "London"

```

#### ES Module

```html

import { capitalisePostTown } from "https://cdn.jsdelivr.net/npm/@ideal-postcodes/capitalise-post-town-bundled/dist/esm.min.js";
capitalisePostTown("LONDON"); // => "London"

```

## Licence

MIT