UNPKG

npm-git-publish

Version:

Dev tool to publish an NPM package to a remote Git repository, instead of a registry or CDN of tarballs

10 lines (9 loc) 242 B
import * as fs from 'fs'; export interface Options { mode?: number; fs?: { mkdir: typeof fs.mkdir; stat: typeof fs.stat; }; } export default function mkdirp(path: string, opts?: number | Options): Promise<string>;