UNPKG

tyr-cli

Version:

A command line interface for hammer-io.

11 lines (6 loc) 692 B
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports. stringify = stringify; /* eslint-disable import/prefer-default-export */ /** * Converts a json object to a string in a human readable format (indents and newlines) * @param contents the json object * @returns {string} the json in a string */function stringify(json) {return JSON.stringify(json, null, ' ');}