RajaOngkir

Installation

npm i rajaongkir

Usage

// import function you need from provided endpoint
import { getProvince } from 'rajaongkir/endpoint';

// inside async function you can write
const res = await getProvince();
console.log(res);