Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.298.0/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.