js-yaml - v5.3.0
    Preparing search index...

    Class Schema

    Controls tag resolution when loading and type selection when dumping.

    Index
    • Creates a new schema with the specified tags added. If a tag already exists, it is replaced by the specified tag.

      Parameters

      Returns Schema

      import { CORE_SCHEMA, mergeTag, realMapTag } from 'js-yaml'

      const schema = CORE_SCHEMA.withTags(mergeTag, realMapTag)