0.0.12 • Published 10 months ago
@rebrickableapi/fetch v0.0.12
@rebrickableapi/fetch
This package provides a tiny wrapper around native fetch to call the Rebrickable API that returns typesafe responses.
Usage
import { fetchRebrickableAPI } from '@rebrickableapiapi/fetch';
const item = await fetchRebrickableAPI('/api/v3/colors');
// -> { id: number, name: string, ... }Installation
npm i @rebrickableapi/fetchContributing
See parent readme.
License
Licensed under the MIT License.