packages feed

nixfmt-0.3.0: js/js-interface-wrapper.js

/* © 2019 Serokell <hi@serokell.io>
 *
 * SPDX-License-Identifier: MPL-2.0
 */

function nixfmt(text, width=80, filename="<stdin>") {
    const param = {width, filename}
    nixfmt_(text, param)
    return {text: param.ret, err: param.err}
}