softkave-js-utils

0.9.0 • Public • Published

Softkave JS Utils

Overview

Collection of JavaScript and Typescript utilities.

Notes

  • API is still unstable, so use with care.
  • Only currently exports as an ES module, I currently do not need a commonjs export. Should you need one, you can open an issue, an I can look into it.

Install

For npm

npm install softkave-js-utils

For yarn

yarn add softkave-js-utils

Exports

Functions

Type Utilities

  • AnyObject
  • ConvertT1ToT2Deep
  • ConvertDateToStringDeep
  • AnyFn
  • AnyAsyncFn
  • EmptyObject
  • ClassConstructor
  • AbstractClassConstructor
  • PartialRecord
  • InferTypeFromArray
  • InvertRecord
  • DefaultTo
  • StringKeysOnly
  • OrArray
  • OrPromise
  • OmitFrom
  • IsUnion
  • UnionToTuple
  • IsStringEnum
  • Not
  • IsBoolean

Package Sidebar

Install

npm i softkave-js-utils

Weekly Downloads

318

Version

0.9.0

License

MIT

Unpacked Size

139 kB

Total Files

252

Last publish

Collaborators

  • ywordk