Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
writeJson.promise = function(filepath, value) {
var args = [].slice.call(arguments, 1);
return writeFile.promise(filepath, stringify.apply(null, args));
};