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

react-naver-maps-kit

v1.4.0

Published

Modern React toolkit for Naver Maps

Downloads

794

Readme

react-naver-maps-kit

NAVER Maps JavaScript API v3를 React에 맞게 포팅한 라이브러리입니다.

npm license docs bundle size

공식 문서 | Playground

설치

# npm
npm install react-naver-maps-kit

# yarn
yarn add react-naver-maps-kit

# pnpm
pnpm add react-naver-maps-kit

# bun
bun add react-naver-maps-kit

사용법

이 라이브러리를 사용하기 위해서는 네이버 클라우드 플랫폼에서 Maps API 키를 발급받아야 합니다.

기본 사용법

import { NaverMapProvider, NaverMap, Marker } from "react-naver-maps-kit";

function App() {
  return (
    <NaverMapProvider ncpKeyId="YOUR_NCP_KEY_ID">
      <NaverMap
        defaultCenter={{ lat: 37.3595704, lng: 127.105399 }}
        defaultZoom={15}
        style={{ width: "100%", height: "400px" }}
      >
        <Marker position={{ lat: 37.3595704, lng: 127.105399 }} />
      </NaverMap>
    </NaverMapProvider>
  );
}

커스텀 마커

React 컴포넌트를 마커로 사용할 수 있습니다.

<Marker position={{ lat: 37.3595704, lng: 127.105399 }}>
  <div style={{ padding: "8px 16px", background: "#03C75A", color: "white", borderRadius: "20px" }}>
    네이버 그린팩토리
  </div>
</Marker>

컴포넌트

지도

| 컴포넌트 | 설명 | | ------------------ | --------------------------------- | | NaverMapProvider | SDK 로딩 및 인증 관리 | | NaverMap | 지도 컨테이너 | | Panorama | 거리뷰 (panorama 서브모듈 필요) |

오버레이

| 컴포넌트 | 설명 | | --------------- | ------------------------- | | Marker | 마커 (커스텀 콘텐츠 지원) | | InfoWindow | 정보창 | | Polyline | 선 | | Polygon | 다각형 | | Circle | 원 | | Ellipse | 타원 | | Rectangle | 사각형 | | GroundOverlay | 이미지 오버레이 |

서브모듈

필요한 서브모듈만 선택적으로 로드할 수 있습니다.

<NaverMapProvider ncpKeyId="YOUR_KEY" submodules={["panorama", "visualization"]}>
  {/* ... */}
</NaverMapProvider>

| 서브모듈 | 컴포넌트 | | --------------- | ------------------------ | | panorama | Panorama, FlightSpot | | visualization | HeatMap, DotMap | | drawing | DrawingManager | | geocoder | Geocoding 유틸리티 |

Hooks

import { useNaverMap, useMap } from "react-naver-maps-kit";

// SDK 상태 접근
const { sdkStatus, sdkError } = useNaverMap();

// 지도 인스턴스 접근 (NaverMap 내부에서)
const map = useMap();

TypeScript

naver 전역 타입을 사용하려면 @types/navermaps를 설치하고 tsconfig.json을 설정하세요.

npm install -D @types/navermaps
{
  "compilerOptions": {
    "types": ["navermaps"]
  }
}

문서

자세한 사용법은 공식 문서를 참고하세요.

라이선스

MIT © 2026 cobocho


Disclaimer: 이 라이브러리는 NAVER의 공식 라이브러리가 아닙니다. NAVER Maps API의 서드파티 React 바인딩입니다.