UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

11 lines (9 loc) 202 B
import type { Got } from 'got' import type { Music } from '../types/Music.ts' export default (got: Got) => { return { async get() { return await got.get(`music`).json<Music>() }, } }