JSPM

Found 11 results for duck-typing

check-types

A little library for asserting types and values, with zero dependencies.

  • v11.2.3
  • 110.84
  • Published

check-types-2

A little library for asserting types and values, with zero dependencies. Follower for check-types (archived).

  • v11.8.1
  • 45.16
  • Published

uncouple

Uncouple constructors and classes methods into functions.

  • v0.6.0
  • 45.10
  • Published

offensive

Fast and boilerplate-free precondition checks for javascript.

  • v3.7.0
  • 34.55
  • Published

@on-the-ground/quackquack

Message-based duck typing system focused on behavioral roles instead of structural types.

  • v0.0.12
  • 24.30
  • Published

dis

Tiny tiny duck typing utility

  • v0.3.7
  • 21.87
  • Published

type-checking

Check for what you need. Mainly for framework developers

  • v1.0.1
  • 10.47
  • Published

@gloch96/typed-getters

Unlike default EcmaScript (JavaScript) constructors such as `String() defaults to '' | Number() defaults to 0 | Symbol() defaults to Symbol() | Boolean() defaults to false` . Instead, using `typed-getters` we can maintain consistency among JavaScript prim

  • v2.0.1
  • 6.97
  • Published

@fab1o/check-types

A little library for asserting types and values.

  • v14.4.0
  • 5.24
  • Published

@philipp122/totype

A better alternative to the typeof-operator in JS. Utilizes the internal [[CLASS]] property.

  • v1.0.1
  • 2.79
  • Published