• Attempts to serialize |value| into a JSON string and encode it as into a UTF-8 string, then safely write the result to a file at |path|. Works exactly like |write|.

    Returns

    Resolves with the number of bytes successfully written to the file, otherwise rejects with a DOMException.

    Returns Promise<unsigned_long_long>

Generated using TypeDoc