{"library":"estree-util-value-to-estree","type":"library","category":null,"description":"estree-util-value-to-estree is a utility library for converting diverse JavaScript values into their corresponding ESTree Abstract Syntax Tree (AST) expressions. This package is particularly useful for tools that manipulate or generate JavaScript code, enabling programmatic construction of AST nodes from native JavaScript types. The current stable version is 3.5.0, with a release cadence that includes regular minor and patch updates to support new JavaScript features and fix bugs. Key differentiators include its broad support for various primitive types (e.g., bigint, symbol, undefined, null, boolean, number, string) and object types (e.g., Array, Object, Map, Set, Date, RegExp, Buffer, various TypedArrays, and Temporal types). It also provides a `serialize` option for handling custom or unsupported values, allowing users to define how complex or application-specific data structures should be represented in the AST. It is designed for values that can be constructed without needing a runtime context.","language":"javascript","status":"active","version":"3.5.0","tags":["javascript","esast","estree","estree-util","language","unist","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install estree-util-value-to-estree","imports":["import { valueToEstree } from 'estree-util-value-to-estree'","import type { Options } from 'estree-util-value-to-estree'"]},{"cmd":"yarn add estree-util-value-to-estree","imports":[]},{"cmd":"pnpm add estree-util-value-to-estree","imports":[]}],"homepage":null,"github":"https://github.com/remcohaszing/estree-util-value-to-estree","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/estree-util-value-to-estree","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/estree-util-value-to-estree/compatibility"}}