Fake IPFS for local testing environment.
$ npm install ipfakeconst ipfake = require("ipfake");
async function testIpfake() {
const hash = await ipfake.add("/rel/or/abs/path/to/file");
// returns a base58 hash of the absolute file path
const absolutePath = await ipfake.get(hash);
// returns an absolute path to the file, given its hash
}$ ipfake add /rel/or/abs/path/to/file
$ ipfake get hashOfAbsoluteFilePath