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

kakao-bar-nearby

v0.2.0

Published

Kakao Map based nearby bar lookup for Korean location queries with open-now status, menu, seating, and phone hints

Downloads

33

Readme

kakao-bar-nearby

카카오맵 검색 + 장소 패널 JSON 을 사용해 근처 술집을 찾는 Node.js 패키지입니다.

설치

배포 후:

npm install kakao-bar-nearby

이 저장소에서 개발할 때:

npm install

사용 원칙

  • 유저 위치는 자동으로 추적하지 않습니다.
  • 먼저 현재 위치를 먼저 물어본다 는 규칙을 지키세요.
  • 서울역 술집, 강남 술집, 사당 술집 같은 질의를 카카오맵 모바일 검색으로 조회합니다.
  • 영업 중인 결과를 먼저 정렬하고, 대표 메뉴·좌석 힌트·전화번호를 함께 반환합니다.

공식 Kakao Map 표면

  • 모바일 검색: https://m.map.kakao.com/actions/searchView
  • 장소 패널 JSON: https://place-api.map.kakao.com/places/panel3/<confirmId>
  • 장소 상세 페이지: https://place.map.kakao.com/<confirmId>

사용 예시

const { searchNearbyBarsByLocationQuery } = require("kakao-bar-nearby");

async function main() {
  const result = await searchNearbyBarsByLocationQuery("서울역", {
    limit: 5
  });

  console.log(result.anchor);
  console.log(result.items);
}

main().catch((error) => {
  console.error(error);
  process.exitCode = 1;
});

Live smoke snapshot

2026-03-29 에 사당, limit=3, panelLimit=8 로 실제 호출했을 때 상위 결과 예시는 아래와 같았습니다.

{
  "anchor": { "name": "사당1동먹자골목상점가" },
  "meta": { "openNowCount": 4 },
  "items": [
    { "name": "우미노식탁", "open": "영업 중", "detail": "24:00 까지" },
    { "name": "방배을지로골뱅이술집포차 사당역점", "open": "영업 중", "detail": "24:00 까지" },
    { "name": "커먼테이블", "open": "영업 중", "detail": "01:00 까지" }
  ]
}

공개 API

  • parseSearchResultsHtml(html)
  • selectAnchorCandidate(locationQuery, items)
  • normalizePlacePanel(panel, searchItem, anchorPoint)
  • searchNearbyBarsByLocationQuery(locationQuery, options?)