read information of wikidata entities in a simpler way
This library is meant to help with things like labels in a predefined language or faster access to claims
npm install wikidata-entity-reader
import { WikibaseEntityReader } from 'wikidata-entity-reader';
const reader = new WikibaseEntityReader(entity, 'en');
reader.label();
//=> 'human'
reader.label('de');
//=> 'Mensch'