1.0.6 • Published 3 years ago

@lofty87/util v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@lofty87/util

this module is for utility only in the lofty87 project

1. Installation

npm install --save @lofty87/util

2. Usage

import { arrayToObj } from '@lofty87/util';

- util

  • array

    • arrayToObj
  • date

    • formatOf
    • fromNow
  • filter

    • isNotEmpty (for compact mongoose doc)
  • number

    • randomAlphaNumeric
    • refCount (for compact mongoose doc)
  • object

    • lengthOf
    • compactObject (compact mongoose doc)
    • advancedDefaultsDeep (except array value)
  • string

    • splitBy
    • splitByColon
    • splitByComma
  • url

    • splitPathname
    • isDetailPage
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago