Sign in

    x

    Focused utility traits and value types for MoonBit

    copy
    path
    trait
    moonbit
    Download zip
    Author
    Version
    0.6.1
    License
    MIT
    Last updated
    2 months ago
    Downloads
    455

    #totto2727/x

    Focused MoonBit utility packages for logical copying, validated filesystem paths, JSON flattening, and JSON conversions for YAML and TOML values.

    This document is canonical README.mbt.md; maintain README.md as the relative symlink README.md -> README.mbt.md.

    #Usage

    Add the module, then import only the package that owns the needed behavior.

    moon add totto2727/x

    Use copy for explicit logical-copy semantics, path for normalized path values, json for flattening and reconstruction, yaml for YAML JSON conversion, and toml for TOML JSON conversion.

    #Key features

    • copy defines independent logical-copy behavior for built-in and downstream value types.
    • path separates normalized absolute and relative filesystem paths.
    • json flattens and reconstructs Json values with JSON Pointer or JavaScript paths.
    • yaml and toml provide owned wrappers for standard JSON conversion traits.

    #Prerequisites

    • MoonBit: Use a current stable toolchain compatible with version 0.6.1 of this module.

    #Setup

    1. Add the module to your MoonBit project.

    moon add totto2727/x

    1. Import one published subpackage, for example totto2727/x/json.

    import "totto2727/x/json"

    #API

    Mooncakes provides the canonical API reference for the published module and each package: copy, path, json, yaml, and toml.

    #Development

    For repository structure and development commands, see AGENTS.md.

    #License

    This README was generated from the share-artifact skill and README template.

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io