0.0.11 • Published 9 months ago
arxivjs v0.0.11
arxivjs
This repo allows users to fetch parsed metadata from arxiv using the ArxivClient
Code example:
import { ArxivClient, ArticleMetadata } from "arxivjs";
const articleMetadata: ArticleMetadata = await client.getArticle(searchText);
Note that searchText can either be an Arxiv url or an article ID.
Return schema from the function:
{
id: string;
title: string;
date: string;
authors: string[];
summary: string;
journal: string;
categoryNames: string[];
pdf: string;
}