UNPKG

create-ipfs-app

Version:

Create IPFS apps with no build configuration.

22 lines (17 loc) 445 B
#!/usr/bin/env node "use strict"; const currentNodeVersion = process.versions.node; const semver = currentNodeVersion.split("."); const major = semver[0]; if (major < 14) { console.error( "You are running Node " + currentNodeVersion + ".\n" + "Create IPFS App requires Node 14 or higher. \n" + "Please update your version of Node." ); process.exit(1); } const { init } = require("./createIpfsApp"); init();