UNPKG

@neume-network/core

Version:

neume network is a community-owned network to scale music and web3 - connecting Artist DAOs, Tokens, NFTs and whatever comes next.

12 lines (10 loc) 227 B
// @format import { access, mkdir } from "fs/promises"; import { constants } from "fs"; export async function provisionDir(path) { try { await access(path, constants.R_OK); } catch (err) { await mkdir(path); } }