2.1.0 • Published 10 months ago

@stein197/type v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

TypeScript utility types

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

Installation

npm install @stein197/type

Interfaces

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

Types

  • PlainMap<T>
  • json.Json
  • json.JsonArray
  • json.JsonObject
  • Large MIME module that contains all available MIME-types, described here
  • DeepPartial<T>
  • DeepReadonly<T>
  • DeepRequired<T>
  • 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