@stein197/ts-util

1.10.0 • Public • Published

TypeScript utility types

This package contains most frequently used types that most projects need.

Installation

npm install @stein197/ts-util

Interfaces

  • Cloneable<T>
  • Comparable<T>
  • Equalable<T>

Types

  • Nullable<T>
  • ObjectMap<T>
  • Json
  • JsonArray
  • JsonObject
  • Large MIME module that contains all available MIME-types, described here
  • Large css module that contains types related to CSS properties and their types.
  • Large HTMLAttributes module that contains HTML-related typings
  • Tuple module

NOTE: For more detailed documentation, please, refer to the TSDoc comments in the source code.

NPM scripts

  • make:index generates at the root index.ts
  • make:mime generates MIME.ts file
  • build runs all scripts

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @stein197/ts-util

    Weekly Downloads

    0

    Version

    1.10.0

    License

    MIT

    Unpacked Size

    199 kB

    Total Files

    15

    Last publish

    Collaborators

    • stein197