Socket
Socket
Sign inDemoInstall

hotypes

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hotypes

Higher order types for TypeScript


Version published
Weekly downloads
768
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

hotypes

Higher-order types for TypeScript in the real world.

hotypes contains these types:

  • A new type is a modified type from another type.
  • A new type is an operator or a function.
  • A new type is an internal type extractor.

Install

npm install --save hotypes
# or
yarn add hotypes

API

  • Equals
  • Head
  • Last
  • Tail
  • Flatten
  • FlattenDeep
  • FunctionKeys
  • NonNullableKeys
  • NullableKeys
  • OptionalKeys
  • KeysByType
  • KeysByExactType
  • KeysExcludeByType
  • KeysExcludeByExactType
  • MapAllProps
  • MapPropsByKey
  • MapPropsByType
  • MapPropsByExactType
  • MapNullablePropsToOptionalNullable
  • MapNullablePropsToOptional
  • MapPropsToNonOptionalByKey
  • MapPropsToOptionalByKey
  • MapPropsToNonNullable
  • Mixin
  • MixinAll
  • PickNonNever
  • OmitPropsByType
  • OmitPropsByExactType
  • Replace
  • ReplacePropsByKey
  • ReplacePropsByType
  • WithDefault
  • NonCallable
  • ReturnTypeOfConstructor
  • UnpackedArray
  • UnpackedArrayLike
  • UnpackedIterable
  • UnpackedAsyncIterable
  • UnpackedPromise
  • UnpackedPromiseLike

The Unpacked prefix comes from this official article

Keywords

FAQs

Package last updated on 12 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc