Package Exports
- be-intl
- be-intl/be-intl.js
Readme
be-intl
Format numbers, dates automatically and semantically.
<data value=123456.789 lang="de-DE" be-intl='{ "style": "currency", "currency": "EUR" }'></data>emits
<data value=123456.789 lang="de-DE" be-intl='{ "style": "currency", "currency": "EUR" }'>123.456,79 €</data>Viewing Locally
- Install git.
- Fork/clone this repo.
- Install node.
- Open command window to folder where you cloned this repo.
npm install
npm run serve
- Open http://localhost:3030/demo in a modern browser.
Importing in ES Modules:
import 'be-intl/be-intl.js';
Using from CDN:
<script type=module crossorigin=anonymous>
import 'https://esm.run/be-intl';
</script>