JSPM

Found 43 results for defined names

typical

Isomorphic, functional type-checking for Javascript

  • v7.3.0
  • 106.50
  • Published

is-defined

Check if an identifier is defined

  • v1.0.0
  • 75.34
  • Published

object-assign-defined

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

  • v1.0.2
  • 75.20
  • Published

fastcdc

NodeJS bindings for fastcdc-rs

  • v1.0.1
  • 48.72
  • Published

elv

Elvis operator functionality for JavaScript.

  • v2.2.0
  • 42.18
  • Published

@hansogj/array.utils

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

  • v2.7.2
  • 41.27
  • Published

not-defined

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

  • v3.0.6
  • 41.01
  • Published

validol

util for validation that object has defined props

  • v1.2.2
  • 35.29
  • 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
  • 33.66
  • Published

isdefined

Utilities for working with undefined properties

  • v1.0.1
  • 30.62
  • Published

check-defined

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

  • v1.0.1
  • 19.74
  • Published

object-funcs

A very limited subset of object functions I use every day

  • v0.4.0
  • 19.16
  • Published

lodash-decipher

LoDash Mixins from Decipher, Inc.

  • v0.3.4
  • 18.94
  • Published

@jsmicro/is-defined

Check does the given Javascript Object is a defined.

  • v1.0.2
  • 16.66
  • 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.43
  • Published

required-pm

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

  • v1.0.18
  • 13.07
  • Published

assign-defined

Object.assign that skips any undefined properties from source objects

  • v1.0.5
  • 11.64
  • Published

jsmicro-is-defined

Check does the given Javascript Object is a defined.

  • v1.0.1
  • 11.43
  • Published

nou

shortcut methods for util.isNullOrUndefined

  • v0.0.1
  • 11.13
  • 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
  • 9.94
  • Published

require-source-filepath

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

  • v1.0.1
  • 7.36
  • Published

php-defined

Clone of PHP's function 'defined'

  • v1.0.1
  • 6.40
  • Published

defined-only-object

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

  • v1.0.0
  • 6.40
  • Published

isnotnull

returns true if its argument is neither null nor undefined.

  • v0.8.1
  • 6.06
  • Published

maybee

Safe chaining of object properties and functions using ES2015 Proxy.

  • v0.1.4
  • 5.98
  • Published

defined-keys-only

Returns a new object without undefined object properties

    • v0.0.1
    • 4.84
    • 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.73
    • Published

    aliasnihil

    Check if an identifier is defined

    • v1.2.1
    • 4.73
    • 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.72
    • 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.68
    • 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.68
    • Published

    @awdev/ifdef-typescript

    check if javascript properties are defined (with typescript support)

      • v1.0.3
      • 2.68
      • Published

      first-defined

      Return the first defined item in an array

      • v1.0.0
      • 2.66
      • Published

      once-defined

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

      • v1.0.2
      • 2.65
      • Published

      @loopmode/defined

      A utility function for extracting defined values from an object.

      • v1.0.0
      • 2.65
      • 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