{"library":"think-fetch","type":"library","category":null,"description":"ThinkJS 3.x wrapper around node-fetch providing an extendable fetch method on controllers. Current version 1.1.2 (stable, low release cadence). It integrates the node-fetch library (v1.x) into ThinkJS's extend system, making fetch available via `this.fetch()` in controller actions. Supports plain text, JSON, file streams, and standard node-fetch options. Key differentiator: it is the official fetch wrapper for ThinkJS 3, simplifying HTTP requests in ThinkJS apps without additional configuration. Only works with ThinkJS 3.x, not standalone. ESM/CJS hybrid; requires CommonJS require due to ThinkJS extend API.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","thinkjs3","fetch","think-extend"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install think-fetch","imports":["const fetch = require('think-fetch');","const text = await this.fetch('https://example.com/');","module.exports = [\n  require('think-fetch'),\n];"]},{"cmd":"yarn add think-fetch","imports":[]},{"cmd":"pnpm add think-fetch","imports":[]}],"homepage":"https://github.com/thinkjs/think-fetch#readme","github":"https://github.com/thinkjs/think-fetch","docs":null,"changelog":null,"pypi":null,"npm":"think-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}