@ebandev/scholarly
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

🎓 @ebandev/scholarly

A library to query and parse academic articles from Google Scholar.

A form based in the original work of ukwala's scholarly.

npm MIT

Description

This library allows you to search for academic articles on Google Scholar and parse the results. It is written in TypeScript and uses Cheerio for parsing and Axios for making HTTP requests.

Installation

You can install this package using yarn or npm:

# Using yarn
yarn add @ebandev/scholarly

# Using npm
npm install @ebandev/scholarly

Usage

Here is a basic example of how to use this library:

import * as scholarly from "@ebandev/scholarly";

async function searchArticles() {
  const results = await scholarly.search("your search query");
  console.log(results);
}

searchArticles();

Testing

This project uses Ava for testing. You can run the tests with the following command:

yarn test

Contributing

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.

License

MIT

Package Sidebar

Install

npm i @ebandev/scholarly

Weekly Downloads

2

Version

1.1.3

License

MIT

Unpacked Size

17.3 kB

Total Files

15

Last publish

Collaborators

  • ebandev