{"library":"superagent-auth-bearer","type":"library","category":null,"description":"A lightweight plugin for Superagent that adds a convenient `.authBearer()` method for OAuth2 Bearer Token authentication. Version 0.0.1, released in 2014, is a minimal wrapper that monkey-patches the Superagent prototype. It is not actively maintained and lacks TypeScript types, ESM support, or modern security features. Compared to alternatives like `superagent-oauth`, this plugin focuses solely on Bearer tokens without extra OAuth2 flows. It requires Superagent as a peer dependency and modifies the global request object.","language":"javascript","status":"maintenance","version":"0.0.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install superagent-auth-bearer","imports":["const request = require('superagent'); require('superagent-auth-bearer')(request);","request.get('/').authBearer('token')","const bearer = require('superagent-auth-bearer'); bearer(request);"]},{"cmd":"yarn add superagent-auth-bearer","imports":[]},{"cmd":"pnpm add superagent-auth-bearer","imports":[]}],"homepage":null,"github":"https://github.com/rojo2/superagent-auth-bearer","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/superagent-auth-bearer","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/superagent-auth-bearer/compatibility"}}