const fs = require('fs'); const PATH = './pkg-node/package.json'; const pkg_json = fs.readFileSync(PATH); let pkg = JSON.parse(pkg_json) pkg.name = "ng-app-node-sdk"; pkg.description = "nodejs app sdk of NextGraph"; fs.writeFileSync(PATH, JSON.stringify(pkg, null, 2), 'utf8');