node-pinboard
Version:
A Node.js wrapper for the Pinboard API.
12 lines (11 loc) • 308 B
TypeScript
import { Callback } from './types';
export declare const API_URL = "https://api.pinboard.in/v1";
interface Props {
endpoint: string;
qs: {
[propName: string]: any;
};
}
declare type Get = (props: Props, cb: Callback) => Promise<object | void>;
declare const get: Get;
export default get;