npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@neurarank/node-cyberark

v0.0.2

Published

This piece provides integration with CyberArk PTA (Privileged Threat Analytics) for authentication and monitoring.

Readme

CyberArk Piece

This piece provides integration with CyberArk PTA (Privileged Threat Analytics) for authentication and monitoring.

Features

PTA Authentication

  • Get Authentication Token: Retrieve an authentication token from CyberArk PTA server for system health monitoring

Authentication

The CyberArk piece uses custom authentication with the following required fields:

  • PTA Server URL: The PTA server URL (e.g., https://pta-server:8443)
  • Username: The username for authentication (typically Administrator)
  • Password: The password for authentication

API Reference

PTA Get Authentication Token

Endpoint: POST /api/getauthtoken/

Description: This method enables a user to get a token upon Web application authentication. You can use this method to monitor the PTA system health.

Request Format: application/x-www-form-urlencoded

Parameters:

  • username: The user name (required)
  • password: The user password (required)

Response:

  • Token: An authorized token string

URL Guidelines

  • Make sure there are no spaces in the URL
  • The following characters are not supported in URL values: +, &, %
  • If the URL includes a dot (.), add a forward slash (/) at the end of the URL

Return Codes

The following table lists all the return codes that are returned from the REST APIs:

| Return Code | Code Number | Description | |-------------|-------------|-------------| | Success | 200 | The request succeeded. The actual response will depend on the request method used. | | Created | 201 | The request was fulfilled and resulted in a new resource being created. | | No Content | 204 | The server successfully processed the request and is not returning any content (no response body). This code is typically returned by DELETE requests. | | Bad request | 400 | The request could not be understood by the server due to incorrect syntax. | | Unauthorized | 401 | The request requires user authentication. | | Forbidden | 403 | The server received and understood the request, but will not fulfill it. Authorization will not help and the request MUST NOT be repeated. | | Not Found | 404 | The server did not find anything that matches the Request-URI. No indication is given of whether the condition is temporary or permanent. | | Conflict | 409 | The request could not be completed due to a conflict with the current state of the resource. | | Too Many Requests | 429 | The user has sent too many requests in a given amount of time ("rate limiting"). | | Internal Server Error | 500 | The server encountered an unexpected condition which prevented it from fulfilling the request. | | Not Implemented | 501 | The server does not support this operation due to version incompatibility. |

Building

Run nx build pieces-cyberark to build the library.