# io-ts-decode **Repository Path**: mirrors_stevemao/io-ts-decode ## Basic Information - **Project Name**: io-ts-decode - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2025-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > Decode with error to reduce boilerplate ```ts import ioTsDecode from 'io-ts-decode' import * as t from 'io-ts' import { pipe } from 'fp-ts/lib/pipeable' const onLeft = (e: Error): string => String(e) const onRight = (s: string) => `No errors: ${s}` pipe( ioTsDecode(t.string, null), ... // compose with other `TaskEither`s ) ```