A TypeScript client library for interacting with the arXiv API
npm install arxiv-client
Example usage:
import arxivClient, { abstract, and, not, or, title, category } from "arxiv-client";
const articles = await arxivClient.query(
and(category("cs.AI"), title("game"), abstract("reinforcement learning")),
not(or(title("deep"), title("Human"))),
)
.start(0)
.maxResults(20)
.sortBy('lastUpdatedDate')
.sortOrder('ascending')
.execute();
console.dir(articles, {
depth: null
});