{"library":"fortune-http","type":"library","category":null,"description":"Fortune HTTP (`fortune-http`) provides the HTTP implementation for Fortune.js, a non-native graph database abstraction layer for Node.js and web browsers. Currently at version 1.2.28, this module is essential for exposing Fortune.js APIs over HTTP, including default serializers for JSON, HTML, form-encoded data, and form data. It acts as the networking layer, converting internal Fortune.js requests and responses into HTTP interactions. It is explicitly stated as being required for other HTTP serializers within the Fortune.js ecosystem. While a specific release cadence isn't defined, it typically evolves alongside the main Fortune.js project. Its key differentiator is its tight integration with Fortune.js, offering a structured, ad hoc JSON over HTTP API and an HTML interface, contrasting with other network protocols like WebSocket also supported by Fortune.js.","language":"javascript","status":"active","version":"1.2.28","tags":["javascript","http","fortune"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fortune-http","imports":["const fortuneHTTP = require('fortune-http')","const listener = fortuneHTTP(fortuneInstance, options)","server.on('request', (request, response) => listener(request, response).catch(console.error))"]},{"cmd":"yarn add fortune-http","imports":[]},{"cmd":"pnpm add fortune-http","imports":[]}],"homepage":"https://fortune.js.org","github":"https://github.com/fortunejs/fortune-http","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fortune-http","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/fortune-http/compatibility"}}