ts-iamport
REST API client for I'mport; written by typescript
Last updated 8 months ago by njir .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ts-iamport 
SYNC missed versions from official npm registry.

ts-iamport

  • 박병진님께서 작성하신 node-iamporter를 TypeScript로 간단히 변경한 프로젝트입니다.
    • 기존 node-iamporter 프로젝트에서 debug 부분을 삭제하였습니다.
  • 수면브랜드 삼분의일 웹사이트 구축을 위해 만들었습니다.

Installation

$ npm install --save ts-iamport

Usage

import { Iamport } from 'ts-iamport';

const IMP_API_KEY = 'your-iamport-apikey';
const IMP_SECRET_KEY = 'your-iamport-secret-key';
const iamport = new Iamport(IMP_API_KEY, IMP_SECRET_KEY);

static getToken$ = () => {
    const token$ = of(iamport.getToken());
    return token$;
}

Current Tags

  • 0.0.4                                ...           latest (8 months ago)

4 Versions

  • 0.0.4                                ...           8 months ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 7
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |