Konachan-client
Konachan-client is a library to help you to use the Konachan api.
Install
npm install --save @lv00/Konachan-client
Usage
import { find, getById, getByUrl } from '@lv00/Konachan-client';
// They all return a promise so be sure to use 'then' or 'Async/await'
getByUrl('https://konachan.net/post/show/240955/building-city-migataseizixyu-night-original-planet');
getById(240955);
find(['original', 'silhouette', 'building', 'night', 'city']);