1.1.4 • Published 2 months ago

gundam5 v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

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.

Build Status browser support

usage

izzy.string ('foo') // true
izzy.string (new String('foo')) // true

izzy ('string', 'foo') // true
izzy ('string', 42) // false

supported checks

array, boolean, undefined, element, function, nan, null, number, object, string

size

Raw1.49 kb
Uglified843 b
Uglified + gzipped361 b

environment support

Any browser (as window.izzy if you're not using a module loader), AMD, CommonJS, NodeJS

building it yourself

npm install
grunt
abbrevacornacorn-walkagent-baseaggregate-erroramdefineansi-escapesansi-regexansi-stylesanymatchargargparseasyncasync-hook-domainauto-bindbalanced-matchbinary-extensionsbrace-expansionbracesbuiltinsbytesizec8cacachecamelcasechalkchokidarchownrci-infoclean-stackcli-boxescli-cursorcli-truncatecliuicode-excerptcolor-convertcolor-namecolorsconcat-mapconvert-source-mapconvert-to-spacescross-spawndateformatdebugdecamelizediffeastasianwidthemoji-regexencodingenv-pathserr-codeescaladeescape-string-regexpesprimaeventemitter2events-to-arrayexitexponential-backofffill-rangefind-upfindup-syncforeground-childfromentriesfs-minipassfs.realpathfunction-bindfunction-loopget-caller-filegetobjectglobglob-parentgraceful-fsgrunt-legacy-loggrunt-legacy-log-utilsgrunt-legacy-utilgrunt-lib-contribhandlebarshas-flaghasownhookerhosted-git-infohtml-escaperhttp-cache-semanticshttp-proxy-agenthttps-proxy-agenthumanizeiconv-liteignore-walkimurmurhashindent-stringinflightinheritsinkip-addressis-actual-promiseis-binary-pathis-ciis-core-moduleis-extglobis-fullwidth-code-pointis-globis-lambdais-lower-caseis-numberis-plain-objectis-upper-caseisexeistanbul-lib-coverageistanbul-lib-reportistanbul-reportsjackspeakjs-tokensjs-yamljsbnjson-parse-even-better-errorsjsonparselocate-pathloose-envifylru-cachemake-dirmake-errormake-fetch-happenmimic-fnminimatchminipassminipass-collectminipass-fetchminipass-flushminipass-json-streamminipass-pipelineminipass-sizedminizlibmkdirpmsnegotiatornode-gypnoptnormalize-package-datanormalize-pathnpm-bundlednpm-install-checksnpm-normalize-package-binnpm-package-argnpm-packlistnpm-pick-manifestnpm-registry-fetchonceonetimeopeneroptimistp-limitp-locatep-mappacotepatch-consolepath-existspath-is-absolutepath-keypath-scurrypicomatchpiratespolite-jsonprismjsprismjs-terminalproc-logprocess-on-spawnpromise-inflightpromise-retryreactreact-domreact-element-to-jsx-stringreact-isreact-reconcilerread-package-jsonread-package-json-fastreaddirprequire-directoryresolve-importrestore-cursorretryrimrafsafer-bufferschedulersemvershebang-commandshebang-regexsigmundsignal-exitsigstoreslice-ansismart-buffersockssocks-proxy-agentsource-mapspdx-correctspdx-exceptionsspdx-expression-parsespdx-license-idssprintf-jsssristack-utilsstring-lengthstring-widthstring-width-cjsstrip-ansistrip-ansi-cjssupports-colorsync-contenttap-parsertap-yamltartcomparetest-excludeto-regex-rangetrivial-deferredtshytslibtuf-jstype-festtypescriptuglify-jsuglify-to-browserifyunderscoreunderscore.stringundici-typesunique-filenameunique-sluguuidv8-compile-cache-libv8-to-istanbulvalidate-npm-package-licensevalidate-npm-package-namewalk-up-pathwhichwidest-linewindow-sizewordwrapwrap-ansiwrap-ansi-cjswrappywsy18nyallistyamlyaml-typesyargsyargs-parseryocto-queueyoga-wasm-webzlib-browserify
1.1.4

2 months ago