3 repositorios
Utilities that convert data between formats while ensuring no information or type identity is lost during the process.
Distinct from Data Transcoders: Focuses on type-preserving transformation for JS objects, unlike generic streaming transcoders.
Explore 3 awesome GitHub repositories matching data & databases · Lossless. Refine with filters or upvote what's useful.
Markdig es un procesador de Markdown de alto rendimiento para aplicaciones .NET que convierte texto Markdown a HTML u otros formatos de destino. Es un parser compatible con CommonMark y un motor extensible que puede transformar Markdown en un árbol de sintaxis abstracta (AST) manipulable y consultable. La librería proporciona un framework para añadir sintaxis personalizada y lógica de renderizado a través de un pipeline modular de parsers y renderizadores. Soporta compilación nativa ahead-of-time y trimming para minimizar el tamaño del binario. Las capacidades incluyen la generación de HTML estructurado con atributos y estilos personalizados, la extracción de YAML front matter para el procesamiento de sitios estáticos y la conversión de contenido a texto plano. El motor también cubre mejoras tipográficas, preparación de fórmulas matemáticas y formateo automatizado de enlaces. El procesador incluye un mapeo de fuente preciso para rastrear rangos de caracteres y emplea streaming de salida y límites de profundidad de anidamiento para gestionar el rendimiento y la estabilidad.
Preserves non-semantic whitespace and trivia to enable lossless roundtrip editing.
Superjson is a lossless JSON serialization library and data transcoder. It converts complex JavaScript and TypeScript data types into strings and metadata to ensure that type identity is preserved during data transfer. The library preserves non-native types such as Dates, Maps, and Sets by splitting values into a JSON-compatible payload and a separate map of type-specific metadata. It utilizes a registry-based mapping system that allows for the definition of custom type handlers to manage third-party data types during serialization and deserialization. This utility supports cross-process dat
Implements a lossless transcoding mechanism to preserve non-native types like Dates, Maps, and Sets during transport.
Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a configurable pipeline. It functions as a CommonMark compliant parser and an abstract syntax tree generator that transforms markdown into a hierarchical tree of block and inline nodes with precise source location mapping. The project is distinguished by a decoupled renderer architecture that separates parsing logic from output generation, enabling the transformation of the syntax tree into non-HTML formats such as LaTeX or XAML. It also serves as a lossless markdown processor by t
Ensures lossless processing by tracking whitespace and trivia, allowing the source to be re-rendered exactly.