npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

opencover-3d

v0.0.3

Published

Generate 3D book models and metadata from ISBN. powered by opencover.jp

Readme

opencover-3d

opencover-3d は、 opencover プロジェクトの一部として開発されている npm モジュールです。

ISBN をもとに opencover が提供する書影(表紙・背表紙)を利用し、 本の3Dモデル生成書誌情報の取得を行うことを目的としています。

書棚UI、蔵書ビュー、展示・インスタレーションなど、 本を立体的に扱う表現のための基盤ライブラリです。

opencover-3d is an npm module developed as part of the opencover project.

Its purpose is to generate 3D models of books and retrieve bibliographic information using the book cover images (front and spine) provided by opencover based on ISBNs.

It serves as a foundational library for expressions that handle books three-dimensionally, such as bookshelf UIs, library views, exhibitions, and installations.

📚 About opencover

opencover( https://opencover.jp/ は、 ISBN を指定することで 本の背表紙画像を生成・配信する非営利プロジェクトです。

  • 日本の書籍を中心に対応
  • 特に「背表紙画像」にフォーカス
  • URL ベースで簡単に利用可能
  • 書棚・ライブラリ系UIのために設計

OpenCover ( https://opencover.jp/ ) is a non-profit project that generates and distributes book spine images by specifying ISBN.

  • Primarily supports Japanese books.
  • Specifically focuses on "spine images."
  • Easily usable via URLs.
  • Designed for bookshelf and library-style UIs.
https://image.opencover.jp/v1/cover/spine/{isbn}.webp

What you can do with opencover-3d

  • Get opencover book cover images from ISBN
  • Generate 3D models of books based on cover images
  • Get bibliographic information such as author, title, and publisher
  • API for unified handling of 3D models and metadata

Install

npm install opencover-3d three
  • three is a peer dependency.
  • Please install it on the user's side.

How to Use

import { getBook } from "opencover-3d";

const { model, details } = await getBook("9784087213126");
  • model: 3D model of the book (Three.js object)
  • details: Bibliographic information

API

getBookModel

Retrieve only the 3D model of the book from the ISBN.

import { getBookModel } from "opencover-3d";

const model = await getBookModel("9784087213126");
  • For those who only need the 3D representation.
  • Does not access the bibliographic information API.

🔹 getBookDetails

Retrieve only bibliographic information from the ISBN.

import { getBookDetails } from "opencover-3d";

const details = await getBookDetails("9784087213126");
{
  isbn: "9784087213126",
  title: "なぜ働いていると本が読めなくなるのか",
  author: "三宅香帆 著",
  publisher: "集英社",
  issued: "2024"
}

getBook

Obtain the 3D model and bibliographic information simultaneously.

import { getBook } from "opencover-3d";

const { model, details } = await getBook("9784569857787");

📄 License

MIT License