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

joara-sdk

v1.0.13

Published

Joara 비공식 TypeScript API 클라이언트

Readme

joara-sdk

조아라(joara.com) 비공식 TypeScript API 클라이언트입니다. 별도의 브라우저/UI 없이 비로그인 게스트 토큰을 자동 발급받아 작품 검색, 베스트 랭킹, 상세 정보 등을 조회할 수 있습니다.

설치

pnpm add joara-sdk
# or
npm install joara-sdk

사용법

1. 기본 파서 (JoaraTokenParser)

import { JoaraTokenParser } from "joara-sdk"

const parser = new JoaraTokenParser()

// 작품 검색
const searchResults = await parser.search("마법사")

// 작품 이름으로 상세 정보 조회
const { book, detail } = await parser.getNovelByName("암살학교 천재교수")
console.log(detail.subject) // 작품 제목
console.log(detail.writer_name) // 작가명
console.log(detail.cnt_chapter) // 총 편수
console.log(detail.intro) // 줄거리

2. API 클라이언트 (JoaraClient)

import { JoaraClient } from "joara-sdk"

const client = new JoaraClient({
    cache: true, // 인메모리 TTL 캐시 활성화 (기본 60초)
    maxRetries: 3, // 실패 시 자동 재시도
    timeout: 10000, // 10초 타임아웃
})

// 베스트 소설 목록 조회
const best = await client.getBestBooks({ category: "1", page: 1 })

// 대량 데이터 비동기 스트리밍 순회
for await (const book of client.searchStream({ query: "회귀", maxPages: 3 })) {
    console.log(book.subject, book.member_name)
}

// 작품 상세 정보 및 회차 목록
const detail = await client.getBookDetail("1879444")
const chapters = await client.getBookChapters("1879444", 1)

옵션 (JoaraClientOptions)

| 옵션 | 타입 | 기본값 | 설명 | | :------------- | :---------------------- | :---------- | :-------------------------------- | | timeout | number | 10000 | 요청 타임아웃 (ms) | | maxRetries | number | 3 | 지수 백오프 기반 최대 재시도 횟수 | | cache | boolean \| CacheStore | false | 인메모리 캐시 사용 여부 | | cacheTtlMs | number | 60000 | 캐시 유지 시간 (ms) | | userToken | string | undefined | 회원 로그인 토큰 (선택) | | logger | Logger | undefined | 커스텀 로거 | | interceptors | Interceptors | {} | 요청/응답/에러/재시도 인터셉터 |

라이선스

MIT