{"library":"esniff","type":"library","category":null,"description":"esniff is a specialized, low-footprint JavaScript source code parser designed for use cases that require syntax-aware analysis without needing to construct a full Abstract Syntax Tree (AST). It excels at tasks like finding specific function calls or property accesses by navigating the code based on syntax rules, which is more robust than regular expression matching. The current stable version is 2.0.1, released in February 2024. The package maintains a relatively active release cadence, with several minor and patch updates and a major breaking change (v2.0.0) in early 2024. Its key differentiator is its focus on efficiency and targeted code fragment detection over comprehensive AST generation, making it suitable for performance-critical analysis where a full AST would be overkill.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","sniff","analyze","ast","parse","syntax","sniffer","detective","detect"],"last_verified":"Wed May 27","install":[{"cmd":"npm install esniff","imports":["import esniff from 'esniff';","import accessedProperties from 'esniff/utils/accessed-properties';","import findFunctionCalls from 'esniff/utils/function';"]},{"cmd":"yarn add esniff","imports":[]},{"cmd":"pnpm add esniff","imports":[]}],"homepage":null,"github":"https://github.com/medikoo/esniff","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esniff","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/esniff/compatibility"}}