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

@kmuip/pws-types

v0.1.2

Published

TypeScript types for the Netwrix Password Secure JavaScript runtime and published API docs.

Readme

@kmuip/pws-types

Type declarations for the Netwrix Password Secure JavaScript runtime, with the public HTML docs used as an additional source of truth where they match the runtime surface.

For the Bun and Node runtime package, use @kmuip/pws-api.

Install

bun add @kmuip/pws-types
npm install @kmuip/pws-types

What This Package Provides

  • TypeScript declarations for the Netwrix Password Secure JavaScript runtime
  • manager, data, enum, and runtime helper types
  • a declaration-only package that can be used like an @types package

What This Package Does Not Provide

  • no runtime SDK or HTTP client
  • no browser bundle
  • no Node transport implementation

Bring your own Netwrix Password Secure runtime from the target environment, then use this package for compile-time typing.

Usage

Type a runtime instance:

import type { PsrApi } from '@kmuip/pws-types'

declare const api: PsrApi

await api.authenticationManagerV2.loginWithApiKey('<api-key>')
const containers = await api.containerManager.getContainerList(0, {})

Type data models:

import type { PsrContainer, PsrListFilter } from '@kmuip/pws-types/data'

const filter: PsrListFilter = {}
const container = {} as PsrContainer

Type manager-focused interfaces:

import type { ContainerManager } from '@kmuip/pws-types/managers'

type ContainerReader = Pick<ContainerManager, 'getContainerList' | 'getContainerById'>

Type an injected browser runtime:

import type { PsrApi } from '@kmuip/pws-types'

declare global {
  interface Window {
    PsrApi: new (baseUrl: string, options?: unknown) => PsrApi
    PsrApiEnums: unknown
    PsrApiTypes: unknown
  }
}

Exports

  • @kmuip/pws-types Root runtime types such as PsrApi
  • @kmuip/pws-types/data Request, response, and model types
  • @kmuip/pws-types/enum-constants Enum-like constant maps
  • @kmuip/pws-types/enums Enum declarations
  • @kmuip/pws-types/managers Manager interfaces grouped by API area
  • @kmuip/pws-types/runtime Runtime helper types

Scope

  • The exported PsrApi type matches the public Netwrix Password Secure JavaScript runtime surface.
  • The package is declaration-only and is intended to be published like an @types-style helper.
  • The declarations are aimed at the current Netwrix Password Secure v9 surface represented in this repository.
  • Where the published docs and runtime behavior differ, the runtime-oriented public surface takes precedence.

Limitations

  • Some payload areas are intentionally broad where the public runtime or published docs do not define exact shapes.
  • This package does not guarantee runtime availability of any specific browser bundle, Node package, or SDK distribution.
  • Official runtime assets can be obtained separately from the Netwrix Password Secure KIS portal: https://license.passwordsafe.de/kis

Local Build

bun install
bun run types:check
bun run types:build

License

MIT