Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash-checkit

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-checkit

mashup of lodash with checkit module

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
146K
decreased by-0.32%
Maintainers
1
Weekly downloads
 
Created
Source

lodash-checkit

CircleCI badge lodash-checkit

Related modules: lodash-match-pattern chai-match-pattern

This is an extension of lodash with extra isXxxx methods from the Checkit module, along with is...Case methods derived from the lodash case conversion methods. All functions have corresponding isNotXxxx methods as well.

Lodash-Checkit "isXxxx" function list

NameFrom
isAlphacheckit "alpha" regex /^[a-z]+$/i
isAlphaDashcheckit "alphaDash" regex /^[a-z0-9_-]+$/i
isAlphaNumericcheckit "alphaNumeric" regex /^[a-z0-9]+$/i
isAlphaUnderscorecheckit "alphaUnderscore" regex /^[a-z0-9_]+$/i
isArgumentslodash isArguments
isArraylodash isArray
isArrayBufferlodash isArrayBuffer
isArrayLikelodash isArrayLike
isArrayLikeObjectlodash isArrayLikeObject
isBase64checkit "base64" regex /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/
isBetweencheckit validator between
isBooleanlodash isBoolean
isBufferlodash isBuffer
isCamelCaselodash camelCase
isContainerForcheckit validator contains
isDatelodash isDate
isDifferentcheckit validator different
isElementlodash isElement
isEmailcheckit "email" regex /^(.+)@(.+).(.+)$/i
isEmptylodash isEmpty
isEquallodash isEqual
isEqualWithlodash isEqualWith
isErrorlodash isError
isExactLengthcheckit validator exactLength
isExistscheckit validator exists
isFinitelodash isFinite
isFunctionlodash isFunction
isGreaterThancheckit validator greaterThan
isGreaterThanEqualTocheckit validator greaterThanEqualTo
isInRangecheckit validator range
isIntegerlodash isInteger
isIpv4checkit "ipv4" regex /^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2}).){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})$/i
isIpv6checkit "ipv6" regex /^((?=.::)(?!.::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5]).?\b){4})$/i
isKebabCaselodash kebabCase
isLengthlodash isLength
isLessThancheckit validator lessThan
isLessThanEqualTocheckit validator lessThanEqualTo
isLowerCaselodash lowerCase
isLuhncheckit "luhn" regex /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/
isMaplodash isMap
isMatchlodash isMatch
isMatchWithlodash isMatchWith
isMaxLengthcheckit validator maxLength
isMinLengthcheckit validator minLength
isNaNlodash isNaN
isNativelodash isNative
isNaturalcheckit "natural" regex /^[0-9]+$/i
isNaturalNonZerocheckit "naturalNonZero" regex /^[1-9][0-9]*$/i
isNillodash isNil
isNotAlphanot "isAlpha"
isNotAlphaDashnot "isAlphaDash"
isNotAlphaNumericnot "isAlphaNumeric"
isNotAlphaUnderscorenot "isAlphaUnderscore"
isNotBase64not "isBase64"
isNotBetweennot "isBetween"
isNotCamelCasenot "isCamelCase"
isNotContainerFornot "isContainerFor"
isNotDifferentnot "isDifferent"
isNotEmailnot "isEmail"
isNotExactLengthnot "isExactLength"
isNotExistsnot "isExists"
isNotGreaterThannot "isGreaterThan"
isNotGreaterThanEqualTonot "isGreaterThanEqualTo"
isNotInRangenot "isInRange"
isNotIpv4not "isIpv4"
isNotIpv6not "isIpv6"
isNotKebabCasenot "isKebabCase"
isNotLessThannot "isLessThan"
isNotLessThanEqualTonot "isLessThanEqualTo"
isNotLowerCasenot "isLowerCase"
isNotLuhnnot "isLuhn"
isNotMaxLengthnot "isMaxLength"
isNotMinLengthnot "isMinLength"
isNotNaturalnot "isNatural"
isNotNaturalNonZeronot "isNaturalNonZero"
isNotNumericnot "isNumeric"
isNotRequirednot "isRequired"
isNotSnakeCasenot "isSnakeCase"
isNotStartCasenot "isStartCase"
isNotUpperCasenot "isUpperCase"
isNotUrlnot "isUrl"
isNotUuidnot "isUuid"
isNulllodash isNull
isNumberlodash isNumber
isNumericcheckit validator numeric
isObjectlodash isObject
isObjectLikelodash isObjectLike
isPlainObjectlodash isPlainObject
isRegExplodash isRegExp
isRequiredcheckit validator required
isSafeIntegerlodash isSafeInteger
isSetlodash isSet
isSnakeCaselodash snakeCase
isStartCaselodash startCase
isStringlodash isString
isSymbollodash isSymbol
isTypedArraylodash isTypedArray
isUndefinedlodash isUndefined
isUpperCaselodash upperCase
isUrlcheckit "url" regex /^((http|https)://(\w+:{0,1}\w*@)?(\S+)|)(:[0-9]+)?(/|/([\w#!:.?+=&%@!-/]))?$/
isUuidcheckit "uuid" regex /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i
isWeakMaplodash isWeakMap
isWeakSetlodash isWeakSet

Keywords

FAQs

Package last updated on 13 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc