google-scholar-link

Automatically link to a Google Scholar page given a query

Usage no npm install needed!

<script type="module">
  import googleScholarLink from 'https://cdn.skypack.dev/google-scholar-link';
</script>

README

google-scholar-link

Link out to Google Scholar

Usage

var scholar = require('google-scholar-link')

scholar('This is a paper title', {language: 'en', since: 2015})
// https://scholar.google.com/scholar?hl=en&as_ylo=2105&q="This+is+a+paper+title"

Options

  • language: String. Defaults to en.
  • since: Num. Years to search. Example: 2015.
  • citations: Bool. Include citations or not. Defaults to true.
  • patents: Bool. Include patents or not. Defaults to true.
  • author: String. Include an author with the query
  • exact: Bool. Search for the exact query or not. Defaults to true.

Contribute

This module uses standard. Contributions welcome.