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

@rzl-zone/ts-types-plus

v0.1.0

Published

A lightweight, modern collection of TypeScript types and interfaces to enhance type safety and improve code maintainability.

Readme



  • Node.js ≥18.18.0
    This package uses modern TypeScript features, so Node.js 18.18.0 or higher is required.

  • Supported environments:

    • ✅ Node.js (18.18.0+).
    • ✅ TypeScript (5.9.0+).
    • ✅ Modern browsers (via bundlers like Webpack / Vite).
  • Recommended minimum tsconfig settings for full TypeScript support:

    • "strict": true
    • "target": "es2022"
    • "module": "es2022"

ℹ️ Note: If you’re using TypeScript and compiling from source, make sure your tsconfig.json minimum supports "target": "es2022" and "module": "es2022" or higher also set "strict": true for full compatibility. Lower targets or strict is false, may cause type issues (like any).


With NPM

npm install @rzl-zone/ts-types-plus@latest

With Yarn

yarn add @rzl-zone/ts-types-plus@latest

With PNPM

pnpm add @rzl-zone/ts-types-plus@latest

  • 📝 Written in TypeScript — fully typed & type-safe.
  • ⚡ Lightweight & easy to include in projects.
  • 📦 Compatible with Node.js & modern browsers (via bundlers).
  • ❤️ Designed for maintainable and readable code.
  • 🧩 Contains useful TypeScript types like OmitStrict, PartialOnly, etc.

For now, explore the examples or dive into the source — all utilities are documented via TSDoc and typed properly.

import type { | } from "@rzl-zone/ts-types-plus";

Place your cursor inside { } then press Ctrl+Space to see all available types with full TSDoc hints.


Make TypeScript & VSCode automatically provide autocomplete for @rzl-zone/ts-types-plus without needing triple-slash references in every file:

  • 1️⃣ Install @rzl-zone/ts-types-plus.

    • Make sure the package is installed:

      npm install @rzl-zone/ts-types-plus
      # or
      yarn add @rzl-zone/ts-types-plus
      # or
      pnpm add @rzl-zone/ts-types-plus
  • 2️⃣ Create a types folder.

    • Inside your project root, make a folder called types:

      project-root/
        ├─ src/
        ├─ types/
        │  └─ index.d.ts
        └─ tsconfig.json 
  • 3️⃣ Add the global reference file.

    • Create types/index.d.ts with this content:

      /// <reference types="@rzl-zone/ts-types-plus" />
      • This tells TypeScript to include the types from @rzl-zone/ts-types-plus globally.
      • You can add more references here if needed, for example:
      /// <reference types="@rzl-zone/ts-types-plus" /> 
      
      // eg more references (if needed):
      /// <reference types="node" />
      /// <reference types="react" />
  • 4️⃣ Update tsconfig.json.

    • Make sure not to override "types" (or leave it empty) so TypeScript automatically picks up your types folder:

      // tsconfig.json
      {
        "compilerOptions": { 
          "strict": true,
          "typeRoots": ["./types", "./node_modules/@types"],
          // other your config...
        },
        "include": ["src", "types"],
        // other your config...
      }
      • typeRoots tells TS where to look for global type definitions.
      • The types folder comes first, so your references override or add to the default @types packages.

Now, all types from @rzl-zone/ts-types-plus are globally available, and you don’t need "types": ["@rzl-zone/ts-types-plus"] in tsconfig.json.


Easy to use, just import on your code base.

import type { OmitStrict } from "@rzl-zone/ts-types-plus";

type OtherType = {
  includeProps: string;
  omittingProps: string;
}

// Fully strict TS omit that requires the keys to exist in target
type MyType = OmitStrict<OtherType, "omittingProps">;
// ➔ MyType = { includeProps: string; }

Help support development:
👉 Become a sponsor.


See CHANGELOG.


See CONTRIBUTING.


Please report issues to [email protected].


- Rzl App.
- All Contributors.


The MIT License (MIT).
Please see License File for more information.


Enjoy using @rzl-zone/ts-types-plus?
Star this repo and share it with other TypeScript developers!