kld-class-utils

0.0.5 • Public • Published

kld-class-utils

A collection of JS "class" utilities I've collected and/or written over time. Nothing amazing here, but they work for me.

Installation

npm install kld-class-utils

Utilities

  • isObject(item)
  • isFunction(item)
  • isString(item)
  • isMethod(item, methodName)
  • conformsToInteface(item, methodNames)
  • mergeProperties(source, target)
  • inherit(proto)
  • defineSubclass(superclass, constructor, methods, statics)

Readme

Keywords

none

Package Sidebar

Install

npm i kld-class-utils

Weekly Downloads

1

Version

0.0.5

License

BSD

Last publish

Collaborators

  • thelonious