2018-04-12 21:49:55 +02:00
# Irish Rail profile for `hafas-client`
The [*Iarnród Éireann* (Irish Rail) ](https://en.wikipedia.org/wiki/Iarnród_Éireann ) is the national railway company of Ireland. This profile adds *Iarnród Éireann* -specific customizations to `hafas-client` .
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
2022-11-22 21:08:08 +01:00
import {profile as irishProfile} from 'hafas-client/p/irish-rail/index.js'
2018-04-12 21:49:55 +02:00
2023-03-14 20:32:50 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2018-04-12 21:49:55 +02:00
// create a client with Irish Rail profile
2023-03-14 20:32:50 +01:00
const client = createClient(irishProfile, userAgent)
2018-04-12 21:49:55 +02:00
```
## Customisations
- parses *Irish Rail* -specific products (such as *LUAS* or *DART* )