A collection of codecs and combinators for use with io-ts
MIT License
mapFromEntries
, readonlyMapFromEntries
codecs, #172 (@mlegenhausen)Published by gcanti about 2 years ago
Published by gcanti about 2 years ago
nonEmptyArray
: change output type from Array
to NonEmptyArray
, #170 (@OliverJAsh)readonlyNonEmptyArray
: change output type from ReadonlyArray
to ReadonlyNonEmptyArray
, #170 (@OliverJAsh)Published by gcanti over 3 years ago
DateFromUnixTime.encode
returning a floating point number, #160 (@saevarb)Published by gcanti over 3 years ago
Json
, JsonRecord
, JsonArray
codecs from JsonFromString
module, closes #156 (@gcanti)Published by gcanti over 3 years ago
JsonFromString
, closes #153 (@gcanti)Published by gcanti over 3 years ago
BooleanFromNumber
, #152 (@EricCrosson)Published by gcanti almost 4 years ago
withEncode
combinator, #146 (@EricCrosson)Published by gcanti about 4 years ago
BigIntFromString
codec, #141 (@EricCrosson)Published by gcanti about 4 years ago
Published by gcanti about 4 years ago
Published by gcanti over 4 years ago
Published by gcanti over 4 years ago
readonlyNonEmptyArray
(@gcanti)readonlySetFromArray
(@gcanti)Published by gcanti over 4 years ago
fromNewtype
[email protected]
(@gcanti)Published by gcanti almost 5 years ago
Published by gcanti almost 5 years ago
Published by gcanti almost 5 years ago
Published by gcanti almost 5 years ago
fromNewtype
, closes #111 (@mlegenhausen)Published by gcanti about 5 years ago
Published by gcanti over 5 years ago
Note. io-ts-types
depends on
starting from 0.5.0
you must install fp-ts
, io-ts
and monocle-ts
manually (fp-ts
, io-ts
and monocle-ts
are listed in peerDependencies
)
fp-ts@2
, monocle-ts@2
and [email protected]
(@gcanti)fp-ts@2
, monocle-ts@2
and [email protected]
to peerDependencies
(@gcanti)boolean
folder (@gcanti)
BooleanFromString
to top leveldate
folder (@gcanti)
date
to top levelDateFromISOString
to top levelDateFromNumber
to top levelDateFromUnixTime
to top levelfp-ts
folder (@gcanti)
createEitherFromJSON
to top level and rename to either
createNonEmptyArrayFromArray
to top level and rename to nonEmptyArray
createOptionFromJSON
to top level and rename to option
createStrMapFromDictionary
createOptionFromNullable
to top level and rename to optionFromNullable
createSetFromArray
to top level and rename to setFromArray
JSON
folder (@gcanti)monocle-ts
(@gcanti)
lensesFromInterface
to top level and renamed to getLenses
(@gcanti)TypePrismIso
module (@gcanti)newtype-ts
folder (@gcanti)number
folder (@gcanti)
NumberFromString
to top levelIntegerFromString
to top level and rename to IntFromString
eitherFromJSON
to either
(@gcanti)optionFromJSON
to option
(@gcanti)fromNullable
(@gcanti)fallback
and rename to withFallback
(@gcanti)