json-fs-query
    Preparing search index...

    Function retrieveRecord

    • A record's definition (its fields, keys and entries), from <entity>.json.

      Parameters

      • entity: string = ''

      Returns Promise<any>

      Record "<entity>" doesn't exist when it doesn't (in Node, checked before reading; in a browser, where that can't be checked without reading, when the file can't be read).