{"library":"api-elements","type":"library","category":null,"description":"The `api-elements` package provides a JavaScript interface for working with API Elements, an abstract syntax tree (AST) for describing APIs. It acts as a core component within the larger API Elements ecosystem, enabling programmatic creation, manipulation, and serialization of API descriptions using a unified model, regardless of the original format (like OpenAPI or API Blueprint). The current stable version of this specific package is 0.3.2, though its sub-packages, like `@apielements/openapi3-parser` and `@apielements/openapi2-parser`, are more actively developed with frequent minor and patch releases, incorporating new OpenAPI specification features and bug fixes. This library differentiates itself by offering a language-agnostic, structured representation of API definitions, allowing for advanced tooling and transformations beyond simple parsing.","language":"javascript","status":"active","version":"0.3.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install api-elements","imports":["import { Namespace } from 'api-elements';","const apiElements = require('api-elements');","import { ParseResult } from 'api-elements/lib/elements';"]},{"cmd":"yarn add api-elements","imports":[]},{"cmd":"pnpm add api-elements","imports":[]}],"homepage":"https://apielements.org","github":"https://github.com/apiaryio/api-elements.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/api-elements","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/api-elements/compatibility"}}