Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

  • 0.6.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
increased by59.31%
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
  • MapPropsToRequiredByKey
  • MapPropsToOptionalByKey
  • MapPropsToNonNullable
  • Mixin
  • MixinAll
  • PickNonNever
  • Pop
  • PropByPath
  • OmitPropsByType
  • OmitPropsByExactType
  • Replace
  • ReplacePropsByKey
  • ReplacePropsByType
  • WithDefault
  • NonCallable
  • ReturnTypeOfConstructor
  • ParametersOfConstructor
  • UnpackedArray
  • UnpackedArrayLike
  • UnpackedIterable
  • UnpackedAsyncIterable
  • UnpackedPromise
  • UnpackedPromiseLike

The Unpacked prefix comes from this official article

Keywords

FAQs

Package last updated on 02 Oct 2023

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