Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@citation-js/plugin-isbn

citation-js421MIT0.4.0

Citation.js plugin to fetch ISBN metadata

citation.js, ISBN, Google Books, Open Library

readme

Install

npm install @citation-js/plugin-isbn

Browser

Make a build with @citation-js/plugin-isbn on the build tool!

Use

Install the plugin by require-ing it:

require('@citation-js/plugin-isbn')

Formats

Formats and other features added by this plugin.

ISBN identifiers

  • ISBN-10 (@isbn/isbn-10)
  • ISBN-13 (@isbn/isbn-13)
  • ISBN-A (actionable ISBN, @isbn/isbn-a)

Google Books API

One of the few public, free APIs to resolve ISBNs is the Google Books API. It returns volumes, which contain information on the

  • authors,
  • entity type (magazine or book),
  • categories/keywords,
  • description,
  • dimensions,
  • language,
  • page count,
  • publisher,
  • title,
  • publication date, and
  • a (Google Books) URL.

For the heck of it, this plugin also support creating API responses from existing metadata. This benefits no one.

Open Library API

The other API used in this plugin is the Open Library Books API. It returns the following information:

  • authors,
  • page count,
  • publisher,
  • publication date,
  • publication place,
  • keywords,
  • title, and
  • URL.

changelog

0.4.0 (2023-06-11)

0.3.2 (2023-06-11)

Bug Fixes

  • google: do not include empty page counts (52603f4)

0.3.1 (2022-05-30)

0.3.0 (2021-05-22)

Bug Fixes

  • google: fix undefined language handling (84a7dca)
  • chore!: drop Node 8 support (6dfb433)

BREAKING CHANGES

  • Node 8 support dropped. Upgrade to Node 10 or higher

0.2.1 (2019-08-25)

Bug Fixes

  • ol: fix case with missing keyword props (9894422)

Features

  • isbn: support any hyphens (7f388b8)

0.2.0 (2019-05-10)

Bug Fixes

  • isbn: add back sync support (f06e45f)

Features

  • ol: support Open Library Books API (840f977)

0.1.0 (2019-05-06)

Features

  • google: support Google Books API (a1a38d9)