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 🙏

© 2024 – Pkg Stats / Ryan Hefner

kakao.maps.d.ts

v0.1.39

Published

Kakao Map API Type Definitions

Downloads

18,327

Readme

kakao.maps.d.ts

TypeScript Definitions for kakao.maps.* (Kakao(구 Daum) 지도 Web API)

목적

타입스크립트로 개발하면서 kakao.maps.* API를 사용하고 싶은데, 타입 정의 파일(*.d.ts)이 없어서 불편했습니다. 카카오 개발자에도 없고, DefinitelyTyped에서 찾아봐도 없고, 분명 사용하고 있는 곳은 많을텐데 공유해주시는 분도 없었습니다.

~~그래서 무스마 기술연구소에서 공유해드립니다.~~

daum map 에서 kakao map 으로 변경되었지만 업데이트가 없어서 JaeSeoKim이 다시 공유해드립니다.

사용법

이 패키지는 타입 정의만 포함하고 있습니다. 실제 구현은 Kakao(구 Daum) 지도 API를 불러와야 합니다.

카카오 지도 Web API 사용법

<script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=발급받은 APP KEY를 넣으시면 됩니다."></script>

그리고 package.json에 devDependencies로 추가합니다.

# npm
$ npm install kakao.maps.d.ts --save-dev

# yarn
$ yarn add kakao.maps.d.ts --dev

그리고 tsconfig.json의 compilerOptions.types 속성에 패키지를 추가하시면 됩니다.

{
  ...,
  "compilerOptions": {
    ...,
    "types": [
      ...,
      "kakao.maps.d.ts"
    ]
  }
}

기여하기

아직 Kakao(구 Daum) 지도 Web API를 100% 정의하지 못했습니다.

필요한 부분을 보완해서 Pull Request를 보내주시면 같이 잘 쓰도록 하겠습니다.

저작권과 라이선스

  • API 명세는 카카오 소유입니다.
  • MIT 라이선스로 제공되니 알아서 잘 쓰시고, 웬만하면 여기에 공유해서 같이 쓰도록 합시다.

형제 오픈소스 프로젝트