• sync write to file recursively (auto create dirname)

    Parameters

    Returns writefileResult

  • sync write to file recursively (auto create dirname)

    Parameters

    • file: string
    • content: strORobj
    • opt: {
          append: boolean;
          async: undefined | null;
      }
      • append: boolean
      • async: undefined | null

    Returns writefileResult

  • async write to file recursively (auto create dirname)

    Parameters

    • file: string
    • content: strORobj
    • opt: {
          async: true;
      }
      • async: true

    Returns Promise<writefileResult>

  • sync write to file recursively (auto create dirname)

    Parameters

    • file: string
    • content: strORobj
    • opt: {
          append: undefined | null | boolean;
          async: true;
      }
      • append: undefined | null | boolean
      • async: true

    Returns Promise<writefileResult>

  • sync write to file recursively (auto create dirname)

    Parameters

    • file: string
    • content: strORobj
    • opt: {
          append?: boolean;
          async?: null | false;
      }
      • Optional append?: boolean
      • Optional async?: null | false

    Returns writefileResult