Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "readIt"

Index

Functions

Functions

Const readIt

  • readIt<T>(path: string): Promise<T>
  • Reads a file and returns as parsed JSON.

    Type parameters

    • T

    Parameters

    • path: string

      Path to file to be read.

    Returns Promise<T>

    Resolves with JSON of the file.

Generated using TypeDoc