Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsonOptions

memberof

fsn/nextra

property

{Function} [replacer] A JSON.stringify replacer function

property

{number} [spaces = null] The number of spaces to format the json file with

property

{string} [encoding = 'utf8'] The file encoding

property

{number} [mode = 0o666] The chmod

property

{string} [flag = 'w'] The flag

Hierarchy

  • JsonOptions

Index

Properties

Optional encoding

Optional flag

flag: string

Optional mode

mode: number

Optional replacer

replacer: (key: string, value: any) => any

Type declaration

    • (key: string, value: any): any
    • Parameters

      • key: string
      • value: any

      Returns any

Optional spaces

spaces: string | number

Generated using TypeDoc