noodl-yaml
TypeScript icon, indicating that this package has built-in type declarations

0.0.56 • Public • Published

noodl-yaml

YAML Bindings for noodl-core

Dependencies

Name Description
noodl-core Core dependency
@jsmanifest/utils Lightweight functional programming utilities
noodl-types noodl-yaml uses noodl-types for its noodl typings
yaml noodl-yaml uses yaml to create YAML bindings

Usage

const { Diagnostics } = require('noodl-core')
const { DocRoot, DocVisitor, DocIterator } = require('noodl-yaml')

const root = new DocRoot()
const visitor = new DocVisitor()
const iterator = new DocIterator()
const diagnostics = new Diagnostics()

diagnostics.use(root)
diagnostics.use(visitor)

diagnostics.run().then((results) => {
  console.log(results)
})

Notes

  • emitter consumes meta objects
  • producer produces meta objects
    • reference meta objects
      • sub references
        • await references
        • eval references
        • merge references
  • resolver encapsulates emitter, producer
  • loader wraps resolver

Action chain triggerers

  • default: save/use/carry (any)

    • determine data type
  • if (object)

  • emit (object)

  • action objects (object)

  • goto (object/string)

  • continue (string)

  • retrieve (string)

  • ..${string}@: ${string} (object)

  • set/replace (object)

  • abort (string)

/noodl-yaml/

    Package Sidebar

    Install

    npm i noodl-yaml

    Weekly Downloads

    32

    Version

    0.0.56

    License

    MIT

    Unpacked Size

    447 kB

    Total Files

    204

    Last publish

    Collaborators

    • projectbreeze
    • atslotus
    • dazhoutong
    • yongjian.yu
    • chenchen.xu
    • pfftdammitchris2
    • blairgao