UNPKG

ipfs

Version:

JavaScript implementation of the IPFS specification

9 lines (6 loc) 148 B
'use strict' const IPFSRepo = require('ipfs-repo') module.exports = (dir) => { const repoPath = dir || 'ipfs' return new IPFSRepo(repoPath) }