{"library":"gapitoken","type":"library","category":null,"description":"gapitoken is a Node.js module designed for Google API service account authorization, specifically implementing the Server-to-Server flow using JSON Web Tokens (JWT). The package, currently at version 0.1.5 and last published over a decade ago, facilitates obtaining access tokens by providing service account credentials (email address and private key). It allows the private key to be supplied either as a file path or directly as a string. Historically, it provided a direct method for generating Google-specific JWTs. However, this library is considered abandoned. The current stable approach for Google API authentication in Node.js relies on the official `@google-cloud/google-auth-library` or `googleapis` libraries, which offer more robust, actively maintained, and officially supported authentication methods like Application Default Credentials (ADC), OAuth 2.0, and integrated JWT clients that handle credential management, token refreshing, and a broader range of authentication flows. These modern alternatives provide better security practices, up-to-date compatibility, and ongoing support compared to this unmaintained package.","language":"javascript","status":"abandoned","version":"0.1.5","tags":["javascript","jwt","jws","google","api","token","service"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gapitoken","imports":["const GAPI = require('gapitoken');","const GAPI = require('gapitoken');\nconst gapi = new GAPI({...});"]},{"cmd":"yarn add gapitoken","imports":[]},{"cmd":"pnpm add gapitoken","imports":[]}],"homepage":null,"github":"https://github.com/bsphere/node-gapitoken","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gapitoken","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/gapitoken/compatibility"}}