1.0.25 • Published 2 months ago

@rebel9/memex-fetcher v1.0.25

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

사용법

  1. createMemexFetcher 를 사용해 memexFetcher 인스턴스를 생성합니다.
import { createMemexFetcher } from "memex-fetcher";

const memexFetcher = createMemexFetcher();
  1. 생성된 인스턴스를 이용해 post 요청을 보낼 수 있습니다.
const response = await memexFetcher.post(url, data)
  1. post 요청으로 받아온 리스트를 변형할 수 있는 메서드를 사용해보세요. languageMap의 KO 값만을 가져오거나, MediaInterface 형태로 정의되어 있는 이미지 등을 간단한 형태로 변형시켜 가져올 수 있습니다.
const convertedList = convertList(response, {
  pluckKO: true,
  pluckLanguageMap: true,
  ...
})
1.0.19

2 months ago

1.0.18

2 months ago

1.0.16

2 months ago

1.0.22

2 months ago

1.0.21

2 months ago

1.0.20

2 months ago

1.0.25

2 months ago

1.0.23

2 months ago

1.0.15

2 months ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.11

2 months ago

1.0.10

2 months ago

1.0.14

2 months ago

1.0.13

2 months ago

1.0.12

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.4

2 months ago

1.0.3

2 months ago

1.0.0

4 months ago