JSPM

Found 43 results for defined names

typical

Isomorphic, functional type-checking for Javascript

  • v7.3.0
  • 105.24
  • Published

object-assign-defined

A simple module that works exactly as Object.assign, but skips assigning undefined values.

  • v1.0.2
  • 73.51
  • Published

is-defined

Check if an identifier is defined

  • v1.0.0
  • 73.09
  • Published

fastcdc

NodeJS bindings for fastcdc-rs

  • v1.0.1
  • 47.40
  • Published

elv

Elvis operator functionality for JavaScript.

  • v2.2.0
  • 41.64
  • Published

not-defined

checks if foo is not defined, i.e. undefined, null, an empty string, array, object or NaN

  • v3.0.6
  • 41.56
  • Published

@hansogj/array.utils

utilizes js/ts arrays with onEmpty, defined and flatMap functions

  • v2.7.2
  • 40.39
  • Published

validol

util for validation that object has defined props

  • v1.2.2
  • 35.76
  • Published

@hansogj/maybe

[![example workflow](https://github.com/hansogj/maybe/actions/workflows/build.yml/badge.svg)](https://github.com/hansogj/maybe/actions/workflows/build.yml/badge.svg)

  • v2.4.4
  • 34.05
  • Published

isdefined

Utilities for working with undefined properties

  • v1.0.1
  • 30.98
  • Published

check-defined

Simple utility function for checking isDefined for complex objects with long property paths

  • v1.0.1
  • 19.97
  • Published

lodash-decipher

LoDash Mixins from Decipher, Inc.

  • v0.3.4
  • 19.20
  • Published

object-funcs

A very limited subset of object functions I use every day

  • v0.4.0
  • 18.64
  • Published

@jsmicro/is-defined

Check does the given Javascript Object is a defined.

  • v1.0.2
  • 16.85
  • Published

is-defined-type

Check if a variable in a nested object is defined and optionally also check its type. Useful for verifying API responses.

  • v1.2.1
  • 16.65
  • Published

required-pm

ensures all required parameters are not null, or throws a useful error like 'phone is required'

  • v1.0.18
  • 12.69
  • Published

assign-defined

Object.assign that skips any undefined properties from source objects

  • v1.0.5
  • 11.78
  • Published

jsmicro-is-defined

Check does the given Javascript Object is a defined.

  • v1.0.1
  • 11.18
  • Published

nou

shortcut methods for util.isNullOrUndefined

  • v0.0.1
  • 10.99
  • Published

izzy

A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.

  • v1.0.1
  • 10.08
  • Published

require-source-filepath

Finds the absolute filepath to the original sourcecode of any defined value

  • v1.0.1
  • 7.21
  • Published

php-defined

Clone of PHP's function 'defined'

  • v1.0.1
  • 6.21
  • Published

defined-only-object

An object that will throw an exception if a user tries to access an undefined property

  • v1.0.0
  • 6.21
  • Published

isnotnull

returns true if its argument is neither null nor undefined.

  • v0.8.1
  • 6.14
  • Published

maybee

Safe chaining of object properties and functions using ES2015 Proxy.

  • v0.1.4
  • 5.91
  • Published

speedtestplugin

A simple plugin to test the network speed between user device and a server sepcified by the user by downloading the file specified by the user

  • v1.0.0
  • 4.79
  • Published

aliasnihil

Check if an identifier is defined

  • v1.2.1
  • 4.79
  • Published

defined-keys-only

Returns a new object without undefined object properties

    • v0.0.1
    • 4.70
    • Published

    prose_is

    A logic Utility. Nil is: null or undefined. Make writing node easier, prettier and less error prone. Writes and reads more like prose

    • v2.0.6
    • 2.72
    • Published

    objdefined

    simple function to check if given object is defined and not null, or return optional parameter if its not

    • v0.0.1
    • 2.72
    • Published

    @awdev/ifdef-typescript

    check if javascript properties are defined (with typescript support)

      • v1.0.3
      • 2.72
      • Published

      first-defined

      Return the first defined item in an array

      • v1.0.0
      • 2.69
      • Published

      gundam5

      A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.

      • v1.1.4
      • 2.66
      • Published

      once-defined

      A minimalistic boilerplate to wait for Custom Elements, or libraries, definition

      • v1.0.2
      • 2.61
      • Published

      @loopmode/defined

      A utility function for extracting defined values from an object.

      • v1.0.0
      • 2.61
      • Published

      is-not-defined

      checks if foo is not defined, i.e. undefined, null, an empty string, array, object or NaN

      • v1.0.1
      • 0.00
      • Published

      defined-type-guard

      A TypeScript Type-Guard for Filtering out undefined Values

      • v1.0.1
      • 0.00
      • Published

      var-defined

      A few handy javascript utilities for testing variables

      • v0.0.1
      • 0.00
      • Published