{"library":"etag","type":"library","category":null,"description":"The `etag` package is a minimalist, RFC 7232-compliant utility for generating HTTP ETags in Node.js applications. It currently maintains a stable version 1.8.1 and has a low release cadence, reflecting its maturity and focused scope. The library supports generating strong ETags for strings and `Buffer`s, and weak ETags by default for `fs.Stats` objects, with an option to override this behavior. Key differentiators include its strict adherence to the HTTP ETag specification, performance optimization for various entity sizes, and a history of robust integration within the `jshttp` ecosystem, often used by popular HTTP frameworks like Express. It prioritizes correctness and efficiency in ETag calculation, having evolved through several hashing algorithm updates to improve security and performance.","language":"javascript","status":"maintenance","version":"1.8.1","tags":["javascript","etag","http","res"],"last_verified":"Wed May 27","install":[{"cmd":"npm install etag","imports":["import etag from 'etag';","const etag = require('etag');"]},{"cmd":"yarn add etag","imports":[]},{"cmd":"pnpm add etag","imports":[]}],"homepage":null,"github":"https://github.com/jshttp/etag","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/etag","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/etag/compatibility"}}