{"library":"tagged-comment-parser","type":"library","category":null,"description":"This package, `tagged-comment-parser`, provides a straightforward utility for extracting structured data from specially formatted string comments. Its current stable version is 1.3.8. The library focuses on simplicity, offering two main functions: `parse` for strict parsing which throws errors on invalid input, and `tryParse` for a more resilient approach that returns an empty object on invalid input rather than an exception. It handles various tag syntaxes, including boolean flags (`@tag`), key-value pairs (`@tag:value`), and array-like values (`@tag(val1, \"val2\")`). The library ships with TypeScript types, enhancing developer experience. It appears to have a stable, though not rapid, release cadence, characteristic of a focused utility. Its key differentiator is its minimal API and focused scope on comment parsing, contrasting with larger AST parsing libraries.","language":"javascript","status":"active","version":"1.3.8","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tagged-comment-parser","imports":["import { parse } from 'tagged-comment-parser'","import { tryParse } from 'tagged-comment-parser'","import type { CommentParseResult } from 'tagged-comment-parser'"]},{"cmd":"yarn add tagged-comment-parser","imports":[]},{"cmd":"pnpm add tagged-comment-parser","imports":[]}],"homepage":null,"github":"https://github.com/kristiandupont/tagged-comment-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tagged-comment-parser","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/tagged-comment-parser/compatibility"}}