{"library":"lws-conditional-get","type":"library","category":null,"description":"lws-conditional-get is a specialized middleware designed for integration with the `lws` (local-web-server) ecosystem. Its core function is to add robust HTTP Conditional-GET caching capabilities to `lws`-powered web servers, leveraging the well-regarded `koa-conditional-get` library internally. This enables efficient resource delivery by utilizing `If-None-Match` and `If-Modified-Since` HTTP headers, thereby reducing redundant data transfers and improving client-side performance. The package is currently at version 3.0.0 and appears to be actively maintained, with a likely release cadence tied to updates in its upstream dependencies or the `lws` project itself. Its primary value lies in offering a low-configuration solution for implementing standard HTTP caching directly within the `lws` environment, abstracting away the complexities of conditional request handling.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","lws","lws-middleware"],"install":[{"cmd":"npm install lws-conditional-get","imports":["import conditionalGet from 'lws-conditional-get'","const conditionalGet = require('lws-conditional-get')","const lws = require('lws');\nlws.create({ stack: [ require('lws-conditional-get')() ] });"]},{"cmd":"yarn add lws-conditional-get","imports":[]},{"cmd":"pnpm add lws-conditional-get","imports":[]}],"homepage":null,"github":"https://github.com/lwsjs/conditional-get","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lws-conditional-get","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/lws-conditional-get/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}