JFrog Javascript Client (v2.9.0) wraps REST APIs for JFrog Artifactory, Xray, and Platform services. Provides methods for scanning dependencies, managing artifacts, and interacting with Xray's security features. It supports both username/password and access token authentication, with configurable retries and timeouts. Actively maintained by JFrog with regular releases. Key differentiator: official JFrog client for Node.js with TypeScript support, enabling programmatic access to JFrog DevOps security and artifact management tools.
npm install jfrog-client-jsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize the JFrog client with platform URL and access token, then call Xray ping.
Ensure platformUrl ends with '/', e.g., 'https://mycompany.jfrog.io/'
Provide either { username, password } or { accessToken }, not both.Use direct authentication via constructor options instead of web login flow.
To retry on 4xx, provide a custom retryOnStatusCode function.
Change import to: import { JfrogClient } from 'jfrog-client-js'Provide a valid platformUrl starting with http:// or https://
Add username/password or accessToken to the constructor options.
No dependency data recorded yet.