@stein197/type

2.1.0 • Public • Published

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

Package Sidebar

Install

npm i @stein197/type

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

76.9 kB

Total Files

15

Last publish

Collaborators

  • stein197