Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/node_modules/yaml/browser/dist/nodes/toJS.js>toJS

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function toJS
import { toJS } from "https://deno.land/x/windmill@v1.371.3/node_modules/yaml/browser/dist/nodes/toJS.js";

Recursively convert any node or its contents to native JavaScript

Parameters

value
  • The input value
arg
  • If value defines a toJSON() method, use this as its first argument
ctx
  • Conversion context, originally set in Document#toJS(). If { keep: true } is not set, output should be suitable for JSON stringification.