awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
jeremyfa avatar

jeremyfa/yaml.js

0
View on GitHub↗
886 stars·140 forks·CoffeeScript·MIT·14 views

Yaml.js

This library provides a parser and encoder for YAML 1.2 data structures, enabling the transformation of human-readable YAML strings into native JavaScript objects and arrays. It is designed to function as a cross-platform utility, ensuring consistent data processing across both server-side runtimes and client-side browser environments.

Beyond its core library functionality, the project includes a command-line interface for automating data conversion tasks. This utility supports bidirectional transformation between YAML and JSON formats, allowing for the programmatic manipulation and exchange of structured configuration data.

The implementation utilizes recursive descent parsing and state-machine tokenization to process input streams, while employing a visitor pattern to map native object graphs into the YAML schema. The package is distributed as a universal module to facilitate integration into various development workflows.

Features

  • YAML Parsers - Provides a library for parsing and serializing YAML 1.2 data structures into native JavaScript objects and strings in browsers and Node.js.
  • Recursive Descent Parsers - Utilizes recursive descent parsing to transform structured text into native language objects.
  • YAML-to-Object Mapping - Converts YAML formatted strings into native objects and arrays for programmatic manipulation.
  • YAML Data Generators - Converts YAML formatted text into native JavaScript objects to allow for programmatic manipulation of structured data.
  • JavaScript Serialization Libraries - Converts complex JavaScript objects into human-readable YAML strings for storage, logging, or data exchange purposes.
  • YAML Serializers - Transforms native JavaScript objects and arrays into human-readable YAML strings for storage or data exchange.
  • Data Format Transformations - Transforms data between JSON and YAML structures to ensure different systems can exchange information using their preferred serialization formats.
  • JSON and YAML Transformation Tools - Provides a command line utility for transforming data between JSON and YAML formats to facilitate interoperability.
  • Command-Line Format Conversion - Automates the conversion of configuration files between YAML and JSON formats directly from the terminal.
  • JSON-to-YAML Converters - Provides a CLI command to transform JSON files into YAML format with support for custom formatting options.
  • YAML-to-JSON Converters - Provides a CLI command to transform YAML files into JSON format with support for custom formatting options.
  • Cross-Environment Module Distribution - Provides a universal module definition to ensure consistent execution across both server-side runtimes and client-side browser environments.
  • Object Serialization - Transforms native objects and arrays into human-readable YAML strings to simplify the process of storing or transmitting structured data.

Star history

Star history chart for jeremyfa/yaml.jsStar history chart for jeremyfa/yaml.js

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Yaml.js

These projects share indexed features with Yaml.js. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • aaubry/yamldotnetaaubry avatar

    aaubry/YamlDotNet

    2,807View on GitHub↗

    YamlDotNet is a YAML serialization library and data mapping tool for .NET. It functions as a parser and generator that converts between .NET objects and YAML formatted text for data storage and configuration. The project provides capabilities for YAML document parsing and data object mapping. It transforms YAML streams into low-level representations or high-level object models for programmatic analysis and converts structured data objects back into valid YAML strings. The library covers general data serialization and configuration file management, allowing application data structures to be m

    C#dotnetparserserialization
    View on GitHub↗2,807
  • nodeca/js-yamlnodeca avatar

    nodeca/js-yaml

    6,591View on GitHub↗

    js-yaml is a JavaScript library providing a programmatic interface for parsing and dumping YAML data. It functions as a parser and serializer that converts YAML strings into JavaScript objects and transforms JavaScript objects back into YAML format. The library includes a command-line interface for parsing or dumping YAML data via direct input or data pipes. It also features an abstract syntax tree transformer to modify the structure of data during serialization. The project provides capabilities for multi-document processing and the definition of custom schemas and tags to handle specialize

    JavaScript
    View on GitHub↗6,591
  • symfony/yamlsymfony avatar

    symfony/yaml

    3,843View on GitHub↗

    This project is a PHP library that serves as a configuration file processor, providing a bridge to translate human-readable YAML text into native PHP arrays and objects. It functions as both a parser for converting YAML content into application-ready data structures and a serializer for transforming PHP data back into formatted YAML strings. The library includes security protections designed to prevent memory exhaustion and stack overflow attacks when processing untrusted documents. It ensures structural integrity through syntax validation and provides a command-line utility to check files fo

    PHPcomponentphpsymfony
    View on GitHub↗3,843
  • go-yaml/yamlgo-yaml avatar

    go-yaml/yaml

    7,023View on GitHub↗

    This library is a YAML encoder and decoder for native Go data structures. It provides the tools necessary to transform internal data into YAML formatted text and convert YAML input streams back into structured data. The parser includes built-in protections against resource exhaustion attacks by enforcing limits on document depth and alias resolution. It also ensures deterministic output by employing consistent key sorting for maps. The project covers serialization and deserialization workflows, including struct mapping and custom marshaling interfaces. It also handles input encoding detectio

    Go
    View on GitHub↗7,023
Compare all 30 related projects→

Curated searches featuring Yaml.js

Hand-picked collections where Yaml.js appears.
  • YAML serialization library

Frequently asked questions

What does jeremyfa/yaml.js do?

This library provides a parser and encoder for YAML 1.2 data structures, enabling the transformation of human-readable YAML strings into native JavaScript objects and arrays. It is designed to function as a cross-platform utility, ensuring consistent data processing across both server-side runtimes and client-side browser environments.

What are the main features of jeremyfa/yaml.js?

The main features of jeremyfa/yaml.js are: YAML Parsers, Recursive Descent Parsers, YAML-to-Object Mapping, YAML Data Generators, JavaScript Serialization Libraries, YAML Serializers, Data Format Transformations, JSON and YAML Transformation Tools.

Which projects share features with jeremyfa/yaml.js?

Projects with overlapping indexed features include: aaubry/yamldotnet — YamlDotNet is a YAML serialization library and data mapping tool for .NET. It functions as a parser and generator that… nodeca/js-yaml — js-yaml is a JavaScript library providing a programmatic interface for parsing and dumping YAML data. It functions as… symfony/yaml — This project is a PHP library that serves as a configuration file processor, providing a bridge to translate… go-yaml/yaml — This library is a YAML encoder and decoder for native Go data structures. It provides the tools necessary to transform… itchyny/gojq — gojq is a JSON query engine and transformation tool implemented in Go. It serves as a Go language port of the jq… dtolnay/serde-yaml — Serde-yaml is a serialization library for the Rust programming language that facilitates the conversion of complex…