helpers-plugin

A typescript plugin that adds helpers for Array, Object, and other prototypes.
655
Install
npm install helpers-plugin
Latest Version:1.0.18
License:MIT
Last Updated:Dec 9, 2024
Links: npm
Maintainer: przemyslawdrzewicz

Helpers plugin

A Javascript / Typescript plugin that adds helper functions for arrays, objects, and other prototypes or global functions, making it easier to write clean code.

🔥 Live preview here 👈

🔥 Documentation here 👈

Installation

Install via npm:

npm install helpers-plugin

Helpers Plugin Methods

Array Prototype Methods

  • first()
  • last()
  • findById(id)
  • findIndexById(id)
  • filterById(id)
  • compare(secondArray)

Types Methods

  • isBoolean(value)
  • isString(value)
  • isObject(value)
  • isArray(value)
  • isFunction(value)
  • isNumber(value)

Content Methods

  • isNotEmptyObject(value)
  • isNotEmptyArray(value)
  • isNotEmptyString(value)

Usage

Read more in documentation

Related Packages

lkt-control-tools

A collection of functions for control code flow

2,236
@lg2/nuxt3-plugin-link-resolver

link resolver plugin fro nuxt3

3,544 0
usemods

Zippy little modifiers and utilities for your frontend.

59,884 236

Version History

Version Released License
1.0.18 MIT
1.0.17 MIT
1.0.16 MIT
1.0.15 MIT
1.0.14 MIT