softkave-js-utils

0.10.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

106

Version

0.10.0

License

MIT

Unpacked Size

143 kB

Total Files

258

Last publish

Collaborators

  • ywordk