Skip to content

@dice-roller/rpg-dice-roller / EXPORT_FORMATS

Variable: EXPORT_FORMATS ​

const EXPORT_FORMATS: readonly ["object", "json", "base64"]

Defined in: src/serialization/formats.ts:8

  • object: plain JSON-safe data (EncodedRollData / EncodedHistoryData)
  • json: that data as a JSON string
  • base64: that JSON string, base64-encoded (UTF-8)

MIT Licensed · Credits