Format numbers, dates automatically and semantically.
npm install be-intlhtml
`
emits
`html
123.456,79 €
`
The output element provides identical support.
`html
`
emits
`html
`
We can also employ more semantic syntax:
`html
`
Alternative names
The semantic example above involves a lot of keyboard tapping of the letters "be-intl". To avoid blisters on your itty bitty fingers, we provide an alternative base attribute you can use:
`html
🌐-weekday=long 🌐-year=numeric 🌐-month=long 🌐-day=numeric>
`
Viewing Locally
Any web server than can serve static files will do, but...
1. Install git.
2. Fork/clone this repo.
3. Install node.
4. Open command window to folder where you cloned this repo.
5. > npm install
6. > npm run serve
7. Open http://localhost:8000/demo in a modern browser.
Importing in ES Modules:
`JavaScript
import 'be-intl/be-intl.js';
`
Using from CDN:
`html
``