A typescript and promised based utilty for accessing a fritzbox via tr064


!npm (scoped)
> A promise based library for accessing a fritzbox via TR-064 API of an AVM Fritz!Box written in typescript
This library is capable of:
- Supports the complete command language of the TR-064 API of an Fritz!Box
- No callback, only promises
- SSL encryption and authentication
- some typed convenience functions (will be extended in future version)
```
npm install @ulfalfa/fritzbox
With the method exec you can access all services and actions in the fritz box even with parameters
`typescript
import { Fritzbox } from './lib/fritzbox'
const fritzbox = new Fritzbox({ username: 'test', password: 'testPwd123' })
const info = await fritzbox.exec(
'urn:dslforum-org:service:DeviceInfo:1',
'GetInfo'
)
`
`typescript
import { Fritzbox } from './lib/fritzbox'
const fritzbox = new Fritzbox({ url: 'https://test:'testPwd123@https://fritz.box:49433' })
const allHosts = await fritzbox.getAllHosts();
`
`typescript
import { Fritzbox } from './lib/fritzbox'
const fritzbox = new Fritzbox({ username: 'test', password: 'testPwd123' })
const info = await fritzbox.describe()
)
``
Will be provided a typedoc page in gitlab pages