{"library":"simple-oauth2","type":"library","category":null,"description":"Simple OAuth2 is a robust Node.js client library that provides a straightforward interface for interacting with OAuth 2.0 authorization servers. It supports various standard grant types including Authorization Code, Resource Owner Password Credentials, and Client Credentials, making it adaptable for diverse application architectures from web services to CLI tools. The package is currently stable at version 5.1.0, which mandates Node.js 14.x or higher, with a development branch (6.x) targeting Node.js 16.x and above. While a strict release cadence is not published, active development and maintenance are evident. Its primary differentiator lies in simplifying complex OAuth2 flows into an easy-to-use, promise-based API specifically for Node.js environments.","language":"javascript","status":"active","version":"5.1.0","tags":["javascript","oauth2","authorization","password","client","credentials"],"install":[{"cmd":"npm install simple-oauth2","imports":["import { AuthorizationCode, ClientCredentials, ResourceOwnerPassword } from 'simple-oauth2';","const client = new AuthorizationCode(config);","const accessToken = await client.getToken(tokenParams);"]},{"cmd":"yarn add simple-oauth2","imports":[]},{"cmd":"pnpm add simple-oauth2","imports":[]}],"homepage":"https://simple-oauth2.js.org","github":"https://github.com/lelylan/simple-oauth2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/simple-oauth2","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/simple-oauth2/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}