Module

Node.Stream.CBOR.Options

Package
purescript-cbor-stream
Repository
cakekindel/purescript-cbor-stream

#CBORStruct Source

#f32ToConst Source

f32ToConst :: { always :: F32 -> Boolean, fit :: F32 -> Boolean, round :: F32 -> Boolean } -> F32 -> Foreign

#Options Source

type Options :: Row Type -> Row Typetype Options r = (alwaysUseFloat :: Boolean, bundleStrings :: Boolean, copyBuffers :: Boolean, int64AsNumber :: Boolean, largeBigIntToFloat :: Boolean, mapsAsObject :: Boolean, pack :: Boolean, structuredClone :: Boolean, structures :: Array CBORStruct, tagUint8Array :: Boolean, useFloat32 :: F32, useRecords :: Boolean, useTag259ForMaps :: Boolean, useTimestamp32 :: Boolean, variableMapSize :: Boolean | r)

#prepareOptions Source

prepareOptions :: forall @r @missing extra minimal minimalExtra. Union r missing (Options extra) => Union r (useFloat32 :: F32) minimal => Nub minimal (useFloat32 :: F32 | minimalExtra) => Record r -> Foreign