Function writeFileSync

  • Synchronously writes the contents of data to the file at path.

    Parameters

    Returns void

    Example

    const appStateJson = JSON.stringify(appState);
    Switch.writeFileSync('sdmc:/switch/awesome-app/state.json', appStateJson);

Generated using TypeDoc