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

portone

v2.1.0-oas02042024

Published

PortOne (Korea) V2 RestApi Client for Node.js (Unofficial)

Downloads

4

Readme

PortOne v2 API Client (Unofficial) · Apache 2.0 License PRs Welcome

이 라이브러리는 PortOne에서 제공하는 v2 API를 쉽게 이용할 수 있는 TypeScript/JavaScript Client이에요. B2B 서비스 API(Alpha)를 제외한 모든 최신 v2 API에 대한 요청을 지원해요.

설치하기

$ npm install --save portone

사용 예제 (전체 소스 확인)

// 포트원 API Client 임포트
import {PortOne} from 'portone';

// 클래스 정의
const portOne = new PortOne();

// ...

// API 시크릿으로 API 로그인
await portOne.login({
  storeId: 'store-e4038486-8d83-41a5-acf1-844a009e0d94',
  authorization: {
    type: 'SECRET',
    secret: 'MY_API_SECRET',
  }
})

// ...

// 결제 정보 불러오기 (예시)
const payment = await portOne.payments.getPayment({
  paymentId: '79dfbd22-d66b-4cc4-b350-ffa2fe2fec42',
});

if (payment.data) {
  // 데이터 처리
} else {
  // 에러 핸들링
}

기여하기

이 라이브러리는 누구나 기여할 수 있어요. 라이브러리에 기여하고 싶다면 아래 문서를 참고해주세요. (기여 가이드라인)

참고 사항

이 라이브러리는 PortOne에서 만든 공식 라이브러리가 아니며, 공정사용의 범위 내에서 비영리를 목적으로 제작되었습니다. PortOne포트원은 (주)코리아포트원의 상표입니다.

라이선스

Apache License 2.0. LICENSE 파일을 참고하세요. 본 레포지토리를 상업적 용도로 Fork/재배포 하는 행위를 금합니다.