{"_id":"foolproof","_rev":"29-f650b3401e597273869a42566323c75e","name":"foolproof","description":"Project deprecated. Use lodash-node.","dist-tags":{"latest":"0.0.62-beta"},"versions":{"0.0.0":{"name":"foolproof","version":"0.0.0","author":{"name":"Rob Christian"},"description":"Foolproof type-checking and helper functions.","scripts":{"start":"node ./bin/http-server","test":"vows --spec --isolate","predeploy":"echo This will be run before deploying the app","postdeploy":"echo This will be run after deploying the app"},"main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n\n### not available on npm just yet...\n\n\nFoolproof.js is a group of helper functions for type checking.\nYou can pass any object to a foolproof helper function and be\ncertain it will never throw a nasty error since typeof is the first\ncheck that is always done on any value given.\n\nPrototype.toString is used to provide more specific object type\ninfo. Try typeOf() on any object.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar bp = require('foolproof')()\n\nalert( bp.isString('this is a demo') );\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this);\n\n  // does stuff...\n\n  alert( isString('this is a demo') );\n\n  return this\n})()\n```\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.0","dist":{"shasum":"e1693329559cf39d2d89eeaa82599b3b69e72e81","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.0.tgz","integrity":"sha512-aETObjeSTDiN5Myi4+MU0t0ekD64vyMeazbwTkcOMpqrI8gHCbfIvL9J903RlqN7RsGVaUi+Z2WB7744rN1F0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAkBQ4WkSkpKJ0xBuIauIENIx5hesabE7R98ItA3PufFAiBFRyOthONUaByw8g9GkfUzmviv0+eiBc1MNAL2lqZmJg=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.1":{"name":"foolproof","version":"0.0.1","author":{"name":"Rob Christian"},"description":"Foolproof type-checking and helper functions.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\nFoolproof.js is a group of helper functions for type checking.\nYou can pass any object to a foolproof helper function and be\ncertain it will never throw a nasty error since typeof is the first\ncheck that is always done on any value given.\n\n### Functions:\n\n* inArray\n* typeOf\n* isType\n* isUndefined\n* isFunction\n* isObject\n* isString\n* isRegex\n* isArray\n* isNull\n* isTruthy\n* isFalsey\n* notType\n* notUndefined\n* notFunction\n* notObject\n* notString\n* notRegex\n* notArray\n* notNull\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar fp = require('foolproof')()\n\nconsole.log( fp.isString('this is a demo') )\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this)\n\n  // does stuff...\n\n  console.log( isString('this is a demo') )\n\n  return this\n})()\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.1","dist":{"shasum":"8f3ddd485482506ea13169d8a6847e16b1956dca","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.1.tgz","integrity":"sha512-blWvQsDIhxvZk2rrjP8mCxHd66opeClDE80ndBJb/+adBhw3yrx+TcPFKuVCLmCIljRVpu2ejm41tVWpGXVtSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIBiqRkVF4pBr8mvBKIvuoP6FXWipkWLNY59QYWH0djqpAh9F0Rh352yx1FA03V+9+3POf309+gsjQhyKr5pFfa3i"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.2":{"name":"foolproof","version":"0.0.2","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof (currently in beta) is a type checking helper functions library.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease do not rely on this package as it is still in development\nand will likely lead to unexpected behavior until further testing.\n\n## Description\n\nFoolproof.js is a group of helper functions for type checking.\nThe goal is to simplify type checking, increase stability for\nnode applications, and allow for graceful handling of unexpected\nconditions.\n\n## Functions:\n\n* new: ƒ(typeof var) - the fail-fast method, always use with typeof.\n* inArray()\n* typeOf()\n* isType()\n* isUndefined()\n* isFunction()\n* isObject()\n* isString()\n* isRegex()\n* isArray()\n* isNull()\n* isTruthy()\n* isFalsey()\n* notType()\n* notUndefined()\n* notFunction()\n* notObject()\n* notString()\n* notRegex()\n* notArray()\n* notNull()\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar fp = require('foolproof')()\n\nconsole.log( fp.isString('this is a demo') )\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this)\n\n  // does stuff...\n\n  console.log( isString('this is a demo') )\n\n  return this\n})()\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.2","dist":{"shasum":"3b1cd6c2e7813281846ccbb13c7bf2c20e008030","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.2.tgz","integrity":"sha512-g0A5dmupioTmB9RXVxwBB6TPJyAxG3T/RQlkk6ZwjJfBtKo3GkOKUz2kaQVifArtKfHWKZ/OMyZU3rPTZMmR4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvnh03l0yNCCoxYuN374YSZWhAOk85u86qhTmzcAY3iAiEAr2Gkpgto1EYnwG4jJ/Mm4aBtnqYz3BrW/F6sMLwqUfg="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.3":{"name":"foolproof","version":"0.0.3","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof (currently in beta) is a type checking helper functions library.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease do not rely on this package as it is still in development\nand will likely lead to unexpected behavior until further testing.\n\n## Description\n\nFoolproof.js is a group of helper functions for type checking.\nThe goal is to simplify type checking, increase stability for\nnode applications, and allow for graceful handling of unexpected\nconditions.\n\n## Functions:\n\n* new (in dev branch):\n  * SystemLogger - has Use() and EpicFail() methods.\n  * E(typeof var) - shorthand for (typeof var === 'undefined')\n  * failWhen() - a fail-fast method.\n  * ƒ(typeof var) - a fail-fast method, always use with typeof. (in dev branch)\n* inArray()\n* typeOf()\n* isType()\n* ~~isUndefined()~~\n* isFunction()\n* isObject()\n* isString()\n* isRegex()\n* isArray()\n* isNull()\n* isTruthy()\n* isFalsey()\n* notType()\n* ~~notUndefined()~~\n* notFunction()\n* notObject()\n* notString()\n* notRegex()\n* notArray()\n* notNull()\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar fp = require('foolproof')()\n\nconsole.log( fp.isString('this is a demo') )\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this)\n\n  // does stuff...\n\n  console.log( isString('this is a demo') )\n\n  return this\n})()\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.3","dist":{"shasum":"c8a9adae5275acf1f861aa1af376b305dd861084","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.3.tgz","integrity":"sha512-X9PepmQwXH44AhIvDr2xts8pKpr187+IlcmNx9++kOTKPGsqdJW5SVOK6E0yw3LNV9OaDXYatL4Xds+XSzKT7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbiM6odwPMGUxpToDboSRWqUbubtWqNbmhkB7tupM9YAiB4GG+Fn6u+MnAv6+kezN//Nc95Sdd8hD6WcjXxfS7XMg=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.31":{"name":"foolproof","version":"0.0.31","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof (currently in beta) is a type checking helper functions library.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease do not rely on this package as it is still in development\nand could produce unexpected behavior. If you have mocha and expect.js\ninstalled, you can run the tests from the project root using simply:\n```\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions for type checking.\nThe goal is to simplify type checking, increase stability for\nnode applications, and allow for graceful handling of unexpected\nconditions.\n\n## Functions:\n\n* SystemLogger - has Use() and EpicFail() methods.\n* E(typeof var) - shorthand for (typeof var !== 'undefined')\n* U(typeof var) - shorthand for (typeof var === 'undefined')\n* failWhen() - a fail-fast method.\n* ƒ(typeof var) - a fail-fast method, always use with typeof.\n* inArray()\n* typeOf()\n* isType()\n* ~~isUndefined()~~\n* isFunction()\n* isObject()\n* isString()\n* isRegex()\n* isArray()\n* isNull()\n* isTruthy()\n* isFalsey()\n* notType()\n* ~~notUndefined()~~\n* notFunction()\n* notObject()\n* notString()\n* notRegex()\n* notArray()\n* notNull()\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar fp = require('foolproof')()\n\nconsole.log( fp.isString('this is a demo') )\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this)\n  \n  // and now you have new methods, natively.\n\n  console.log( isString('this is a demo') )\n  // prints true\n  \n  console.log( isFunction( function(){} ) )\n  // prints true\n\n  return this\n})()\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.31","dist":{"shasum":"c55737581f30a764d4c3e78eb46c4db085e55ee6","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.31.tgz","integrity":"sha512-VHPhxHZWchs7ROblz6FFDl6ATePcsTiNdFJKy3H73tF12u7Goc6TdPTy6MYP1GREq+gdfpihTPOpDDO/x9BX7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQKDCpGcjatqKNbJwjWiGHt9rLAwgoTjX8jGIYcFI/nAiEAk9PVCl6L0O6ExMvIZq9ub4z6gOsBr3+1HcqNM7Vnggo="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.4":{"name":"foolproof","version":"0.0.4","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof is a type-checking and error-detection helpers library.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease do not rely on this package as it is still in development\nand could produce unexpected behavior. If you have mocha and expect.js\ninstalled, you can run the tests from the project root using simply:\n```\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions for type checking.\nThe goal is to simplify type checking, increase stability for\nnode applications, and allow for graceful handling of unexpected\nconditions.\n\n## Functions:\n\n* SystemLogger - has Use() and EpicFail() methods.\n* E(typeof var) - shorthand for (typeof var !== 'undefined')\n* U(typeof var) - shorthand for (typeof var === 'undefined')\n* failWhen() - a fail-fast method.\n* ƒ(typeof var) - a fail-fast method, always use with typeof.\n* inArray()\n* typeOf()\n* isType()\n* ~~isUndefined()~~\n* isFunction()\n* isObject()\n* isString()\n* isRegex()\n* isArray()\n* isNull()\n* isTruthy()\n* isFalsey()\n* notType()\n* ~~notUndefined()~~\n* notFunction()\n* notObject()\n* notString()\n* notRegex()\n* notArray()\n* notNull()\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar fp = require('foolproof')()\n\nconsole.log( fp.isString('this is a demo') )\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this)\n  \n  // and now you have new methods, natively.\n\n  console.log( isString('this is a demo') )\n  // prints true\n  \n  console.log( isFunction( function(){} ) )\n  // prints true\n\n  return this\n})()\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.4","dist":{"shasum":"bb25fbc814b4e2a06cd44a0289fd0dbb4c292e2b","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.4.tgz","integrity":"sha512-YGPvvdL6EQCLRAvEKfI1THHIRpuQ9AMRA0C+ZVYJZk9hqNXRvkpQaOuuybRDaH8ey26DSHoDvqze053E9l6U3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjXS1V4tDlx/fJbblb1YjdYYCKDUV6nQSKsRT2xbkqpgIgffWKlpviyXGC1/RLR7IRunDKPknEE4v8pJiIYYNRwX4="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.41":{"name":"foolproof","version":"0.0.41","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof is a type-checking and error-detection helpers library.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease do not rely on this package as it is still in development\nand could produce unexpected behavior. If you have mocha and expect.js\ninstalled, you can run the tests from the project root using simply:\n```\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions for type checking.\nThe goal is to simplify type checking, increase stability for\nnode applications, and allow for graceful handling of unexpected\nconditions.\n\n## Functions:\n\n* SystemLogger - has Use() and EpicFail() methods.\n* E(typeof var) - shorthand for (typeof var !== 'undefined')\n* U(typeof var) - shorthand for (typeof var === 'undefined')\n* failWhen() - a fail-fast method.\n* ƒ(typeof var) - a fail-fast method, always use with typeof.\n* inArray()\n* typeOf()\n* isType()\n* ~~isUndefined()~~\n* isFunction()\n* isObject()\n* isString()\n* isRegex()\n* isArray()\n* isNull()\n* isTruthy()\n* isFalsey()\n* notType()\n* ~~notUndefined()~~\n* notFunction()\n* notObject()\n* notString()\n* notRegex()\n* notArray()\n* notNull()\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar fp = require('foolproof')()\n\nconsole.log( fp.isString('this is a demo') )\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this)\n  \n  // and now you have new methods, natively.\n\n  console.log( isString('this is a demo') )\n  // prints true\n  \n  console.log( isFunction( function(){} ) )\n  // prints true\n\n  return this\n})()\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.41","dist":{"shasum":"b8e0c51975824c5ab83956bd32030da6a6a22961","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.41.tgz","integrity":"sha512-Onuvwe4L14jXeQqcopa7raDH7gwNA/MQqCH7Bn2a2rdc30DVgoVD/eazWiDukWTVIhU0eNP9qkopB+zuIslI/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSdUuwU2pB87oLR0YBsWq8+TKm5BOVo19bEZXUAHjzHgIgWZY9vQJDVxjbh7Ws4qr5gPyAKHuEjNpqJ8lvEusZZYs="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.46-beta":{"name":"foolproof","version":"0.0.46-beta","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof is a type-checking and error-detection helpers library.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease refer to the test file. To run it, simply get expect.js and mocha, and run mocha, like this:\n```\n$ cd ~/YourProject/\n$ npm install expect.js\n$ npm install -g mocha\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions for type checking.\nThe goal is to simplify type checking, increase stability for\nnode applications, and allow for graceful handling of unexpected\nconditions.\n\n## Functions:\n\n* SystemLogger - has Use() and EpicFail() methods, allows setting of a custom error handler.\n* E(typeof var) - shorthand for (typeof var !== 'undefined')\n* U(typeof var) - shorthand for (typeof var === 'undefined')\n* failWhen(condition, message, level, errorType) - a fail-fast method, invokes SystemLogger.EpicFail() when condition is true.\n* ƒ(typeof var) - a fail-fast method, always use with typeof.\n* findProperty(obj, 'parent.child.property') - Access any properties/sub-properties of obj using dot notation (false if no match).\n* removeItem(needle, haystack) - modifies haystack, removing the item which strictly matches needle.\n* inArray(needle, haystack)\n* typeOf()\n* isType()\n* ~~isUndefined()~~\n* isFunction()\n* isObject()\n* isString()\n* isRegex()\n* isArray()\n* isNull()\n* isTruthy()\n* isFalsey()\n* notType()\n* ~~notUndefined()~~\n* notFunction()\n* notObject()\n* notString()\n* notRegex()\n* notArray()\n* notNull()\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar fp = require('foolproof')()\n\nconsole.log( fp.isString('this is a demo') )\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this)\n  \n  // and now you have new methods, natively.\n\n  console.log( isString('this is a demo') )\n  // prints true\n  \n  console.log( isFunction( function(){} ) )\n  // prints true\n\n  return this\n})()\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.46-beta","dist":{"shasum":"42510c72b873f52d2173a2c1c3b1ddb33ad87b66","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.46-beta.tgz","integrity":"sha512-h80qdYRtm9akU3UE5a4cYdxHR//HNSAOlI1IclwW9Z+p1WrKrUHw4yYWLu8u+UIQVxvLe0sTLedfExQkSKvHLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFChkbJ1LcefrduRolQgMeSbH6UnICHg2wVuepiZu81LAiAkurz+b8Mw69eE0QUUldFtJERw8Mlqmv/a1bQi+4YKag=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.47-beta":{"name":"foolproof","version":"0.0.47-beta","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof is a type-checking and error-detection helpers library.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease refer to the test file. To run it, simply get expect.js and mocha, and run mocha, like this:\n```\n$ cd ~/YourProject/\n$ npm install expect.js\n$ npm install -g mocha\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions for type checking.\nThe goal is to simplify type checking, increase stability for\nnode applications, and allow for graceful handling of unexpected\nconditions.\n\n## Functions:\n\n* SystemLogger - has Use() and EpicFail() methods, allows setting of a custom error handler.\n* E(typeof var) - shorthand for (typeof var !== 'undefined')\n* U(typeof var) - shorthand for (typeof var === 'undefined')\n* failWhen(condition, message, level, errorType) - a fail-fast method, invokes SystemLogger.EpicFail() when condition is true.\n* ƒ(typeof var) - a fail-fast method, always use with typeof.\n* findProperty(obj, 'parent.child.property') - Access any properties/sub-properties of obj using dot notation (false if no match).\n* removeItem(needle, haystack) - modifies haystack, removing the item which strictly matches needle.\n* inArray(needle, haystack)\n* typeOf()\n* isType()\n* ~~isUndefined()~~\n* isFunction()\n* isObject()\n* isString()\n* isRegex()\n* isArray()\n* isNull()\n* isTruthy()\n* isFalsey()\n* notType()\n* ~~notUndefined()~~\n* notFunction()\n* notObject()\n* notString()\n* notRegex()\n* notArray()\n* notNull()\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar fp = require('foolproof')()\n\nconsole.log( fp.isString('this is a demo') )\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nfunction Application (){\n\n  require('foolproof').apply(this)\n  \n  // and now you have new methods, natively.\n\n  console.log( isString('this is a demo') )\n  // prints true\n  \n  console.log( isFunction( function(){} ) )\n  // prints true\n\n}\nvar App = new Application()\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.47-beta","dist":{"shasum":"bb214654871b7a5843131a3d47c1d156cd2c4ace","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.47-beta.tgz","integrity":"sha512-y05D0Pz+910E5SnU5sTjz3XWqphinrK7HASXehJYvYX8tzrXdlNlMFY7l7L4e9ZhR00F8cjpPuVk0c0/kc3BNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkjBZ7Ah1jSKj/GO2rlrxQ3tpVG3b2D/Efqh2dgpuaQAiEA1/GDX06TEok6NLfpPWdvETnSJ5C0HvtZw2ofMPsRXPY="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.5-beta":{"name":"foolproof","version":"0.0.5-beta","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof is a type-checking and error-detection helpers library. Version 0.0.5-beta is an important update. Please review the readme usage instructions.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease refer to the test file. To run it, simply get expect.js and mocha, and run mocha, like this:\n```\n$ cd ~/YourProject/\n$ npm install expect.js\n$ npm install -g mocha\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions for type checking.\nThe goal is to simplify type checking, increase stability for\nnode applications, and allow for graceful handling of unexpected\nconditions.\n\n## Functions:\n\n* SystemLogger - has Use() and EpicFail() methods, allows setting of a custom error handler.\n* E(typeof var) - shorthand for (typeof var !== 'undefined')\n* U(typeof var) - shorthand for (typeof var === 'undefined')\n* failWhen(condition, message, level, errorType) - a fail-fast method, invokes SystemLogger.EpicFail() when condition is true.\n* ƒ(typeof var) - a fail-fast method, always use with typeof.\n* findProperty(obj, 'parent.child.property') - Access any properties/sub-properties of obj using dot notation (false if no match).\n* removeItem(needle, haystack) - modifies haystack, removing the item which strictly matches needle.\n* inArray(needle, haystack)\n* typeOf()\n* isType()\n* ~~isUndefined()~~\n* isFunction()\n* isObject()\n* isString()\n* isRegex()\n* isArray()\n* isNull()\n* isTruthy()\n* isFalsey()\n* notType()\n* ~~notUndefined()~~\n* notFunction()\n* notObject()\n* notString()\n* notRegex()\n* notArray()\n* notNull()\n\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof exports a constructor function. If you want the helper\nfunctions to be available in the global context, simply invoke\nthe function, like this:\n\n```js\nrequire('foolproof')()\n\nconsole.log( isString('this is a demo') )\n// prints true\n  \nconsole.log( isFunction( function(){} ) )\n// prints true\n```\n\nIf you would rather attach them to a namespace object, use the\nnew keyword, like this:\n\n```js\nvar Fp = require('foolproof')\nvar fp = new Fp()\n\nconsole.log( fp.isString('this is a demo') )\n// prints true\n  \nconsole.log( fp.isFunction( function(){} ) )\n// prints true\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.5-beta","dist":{"shasum":"d962db68f062bdace61b9b80db9bcd037554e5d1","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.5-beta.tgz","integrity":"sha512-e7Qr2dMSQjqIzysSDMLf8p/Tg/ulTpczQJVP0S7nXlWsecWWtc6LJgXA1dp7VUVjCTaVs2xXecx2zg0+1b/wyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdrtqXmPyT3IZhO2D0adVq3ASpnV4h2LAuMIIVq7992AiEA4o3HfY4Oy0XsjgkFeknDC8MJwrFON85QkmQIDaadCy0="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.6-beta":{"name":"foolproof","version":"0.0.6-beta","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof is a type-checking and error-detection helpers library. Version 0.0.6-beta is an important update. Please review the readme usage instructions.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease refer to the test file. To run it, simply get expect.js and mocha, and run mocha, like this:\n```\n$ cd ~/YourProject/\n$ npm install expect.js\n$ npm install -g mocha\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions intended to extend the\nnative language features for node applications, simplify type checking,\nand allow for graceful handling of unexpected conditions.\n\n## Functions:\n<dl>\n    <dt>systemLogger</dt>\n    <dd>Has use() and epicFail() methods, allows setting of a custom error handler.</dd>\n\n    <dt>E(typeof var)</dt>\n    <dd>A shorthand for (typeof var !== 'undefined')</dd>\n\n    <dt>U(typeof var)</dt>\n    <dd>A shorthand for (typeof var === 'undefined')</dd>\n\n    <dt>failWhen(condition, message, level, errorType)</dt>\n    <dd>A fail-fast method, invokes SystemLogger.EpicFail() when condition is true.</dd>\n\n    <dt>ƒ(typeof var)</dt>\n    <dd>A fail-fast method, always use with typeof.</dd>\n\n    <dt>findProperty(obj, 'parent.child.property')</dt>\n    <dd>Access any properties/sub-properties of obj using dot notation (false if no match).</dd>\n\n    <dt>removeItem(needle, haystack)</dt>\n    <dd>Modifies haystack, removing the item which strictly matches needle.</dd>\n\n    <dt>concatUnique(existing, additional)</dt>\n    <dd>Adds only unique items from additional to existing.</dd>\n\n    <dt>inArray(needle, haystack)</dt>\n    <dd>True if haystack strictly contains needle.</dd>\n\n    <dt>objExtend(to, from)</dt>\n    <dd>Reimplementation of jQuery extend method, minus support for extending jQuery itself.</dd>\n</dl>\n\nComplete list of methods:\n```\nvar methods = {\n       \"ƒ\"                :  ƒ\n    ,  \"U\"                :  U\n    ,  \"E\"                :  E\n    ,  \"dd\"               :  dd\n    ,  \"systemLogger\"     :  systemLogger\n    ,  \"failWhen\"         :  failWhen\n    ,  \"inArray\"          :  inArray\n    ,  \"concatUnique\"     :  concatUnique\n    ,  \"findUnique\"       :  findUnique\n    ,  \"removeItem\"       :  removeItem\n    ,  \"nameOf\"           :  nameOf\n    ,  \"typeOf\"           :  typeOf\n    ,  \"isType\"           :  isType\n    ,  \"isFunction\"       :  isFunction\n    ,  \"isObject\"         :  isObject\n    ,  \"isBoolean\"        :  isBoolean\n    ,  \"isString\"         :  isString\n    ,  \"isRegex\"          :  isRegex\n    ,  \"isArray\"          :  isArray\n    ,  \"isNull\"           :  isNull\n    ,  \"isNumber\"         :  isNumber\n    ,  \"isNumeric\"        :  isNumeric\n    ,  \"isTruthy\"         :  isTruthy\n    ,  \"isFalsey\"         :  isFalsey\n    ,  \"notType\"          :  notType\n    ,  \"notFunction\"      :  notFunction\n    ,  \"notObject\"        :  notObject\n    ,  \"notBoolean\"       :  notBoolean\n    ,  \"notString\"        :  notString\n    ,  \"notRegex\"         :  notRegex\n    ,  \"notArray\"         :  notArray\n    ,  \"notNull\"          :  notNull\n    ,  \"notNumber\"        :  notNumber\n    ,  \"standardizePath\"  :  standardizePath\n    ,  \"isValidPath\"      :  isValidPath\n    ,  \"notValidPath\"     :  notValidPath\n    ,  \"urlParse\"         :  urlParse\n    ,  \"isFolderSync\"     :  isFolderSync\n    ,  \"isFileSync\"       :  isFileSync\n    ,  \"filesHereSync\"    :  filesHereSync\n    ,  \"formPath\"         :  formPath\n    ,  \"fileName\"         :  fileName\n    ,  \"fullPath\"         :  fullPath\n    ,  \"parentFolder\"     :  parentFolder\n    ,  \"loadFileSync\"     :  loadFileSync\n    ,  \"loadFile\"         :  loadFile\n    ,  \"findProperty\"     :  findProperty\n    ,  \"objExtend\"        :  objExtend\n}\n```\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof exports one method: extend(). This method supports\ntwo use cases. To make these methods global, like other native\nlanguage features such as typeof, simply extend root, like so:\n\n```js\nrequire('foolproof').extend(root)\n\nconsole.log( isString('this is a demo') )\n// prints true\n  \nconsole.log( isFunction( function(){} ) )\n// prints true\n```\n\nIf you choose to use foolproof this way, the helpers become like\ntruly native language features, in that they are immutable:\n\n```js\nrequire('foolproof').extend(root)\n\nconsole.log( isString )\n// prints [Function: isString]\n\nisString = null\nconsole.log( isString )\n// prints [Function: isString]\n```\n\nOr, if you would rather attach the helpers to a namespace object,\nsimply pass that to extend(), like so:\n\n```js\nvar fp = {}\nrequire('foolproof').extend(fp)\n\nconsole.log( fp.isString('this is a demo') )\n// prints true\n  \nconsole.log( fp.isFunction( function(){} ) )\n// prints true\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.6-beta","dist":{"shasum":"9533b45966be2eb58e854cd5bee0842252678a28","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.6-beta.tgz","integrity":"sha512-Fq7dK/eTZmzS+PCSJxgP5UbIoUElRLwlV7UtLTmYESTfKtTrABFR6HS0pNeG0I5zrxqafGDkPYvPH8c54zGEHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHyn06bYsk9pap0kLWJnfZ21ym+xhJHojEUUxNSBfFp7AiAu3sYFOTfsKkRV3cMTvsiSjyteteDrIbKW6qZDrvVKmA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.61-beta":{"name":"foolproof","version":"0.0.61-beta","status":"beta","author":{"name":"Rob Christian"},"description":"Foolproof is a type-checking and error-detection helpers library. Version 0.0.6-beta is an important update. Please review the readme usage instructions.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","readme":"Foolproof.js\n==============\n\n## Status: Beta\n\nPlease refer to the test file. To run it, simply get expect.js and mocha, and run mocha, like this:\n```\n$ cd ~/YourProject/\n$ npm install expect.js\n$ npm install -g mocha\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions intended to extend the\nnative language features for node applications, simplify type checking,\nand allow for graceful handling of unexpected conditions.\n\n## Functions:\n<dl>\n    <dt>systemLogger</dt>\n    <dd>Has use() and epicFail() methods, allows setting of a custom error handler.</dd>\n\n    <dt>E(typeof var)</dt>\n    <dd>A shorthand for (typeof var !== 'undefined')</dd>\n\n    <dt>U(typeof var)</dt>\n    <dd>A shorthand for (typeof var === 'undefined')</dd>\n\n    <dt>failWhen(condition, message, level, errorType)</dt>\n    <dd>A fail-fast method, invokes SystemLogger.EpicFail() when condition is true.</dd>\n\n    <dt>ƒ(typeof var)</dt>\n    <dd>A fail-fast method, always use with typeof.</dd>\n\n    <dt>findProperty(obj, 'parent.child.property')</dt>\n    <dd>Access any properties/sub-properties of obj using dot notation (false if no match).</dd>\n\n    <dt>removeItem(needle, haystack)</dt>\n    <dd>Modifies haystack, removing the item which strictly matches needle.</dd>\n\n    <dt>concatUnique(existing, additional)</dt>\n    <dd>Adds only unique items from additional to existing.</dd>\n\n    <dt>inArray(needle, haystack)</dt>\n    <dd>True if haystack strictly contains needle.</dd>\n\n    <dt>objExtend(to, from)</dt>\n    <dd>Reimplementation of jQuery extend method, minus support for extending jQuery itself.</dd>\n</dl>\n\nComplete list of methods:\n```\nvar methods = {\n       \"ƒ\"                :  ƒ\n    ,  \"U\"                :  U\n    ,  \"E\"                :  E\n    ,  \"dd\"               :  dd\n    ,  \"systemLogger\"     :  systemLogger\n    ,  \"failWhen\"         :  failWhen\n    ,  \"inArray\"          :  inArray\n    ,  \"concatUnique\"     :  concatUnique\n    ,  \"findUnique\"       :  findUnique\n    ,  \"removeItem\"       :  removeItem\n    ,  \"nameOf\"           :  nameOf\n    ,  \"typeOf\"           :  typeOf\n    ,  \"isType\"           :  isType\n    ,  \"isFunction\"       :  isFunction\n    ,  \"isObject\"         :  isObject\n    ,  \"isBoolean\"        :  isBoolean\n    ,  \"isString\"         :  isString\n    ,  \"isRegex\"          :  isRegex\n    ,  \"isArray\"          :  isArray\n    ,  \"isNull\"           :  isNull\n    ,  \"isNumber\"         :  isNumber\n    ,  \"isNumeric\"        :  isNumeric\n    ,  \"isTruthy\"         :  isTruthy\n    ,  \"isFalsey\"         :  isFalsey\n    ,  \"notType\"          :  notType\n    ,  \"notFunction\"      :  notFunction\n    ,  \"notObject\"        :  notObject\n    ,  \"notBoolean\"       :  notBoolean\n    ,  \"notString\"        :  notString\n    ,  \"notRegex\"         :  notRegex\n    ,  \"notArray\"         :  notArray\n    ,  \"notNull\"          :  notNull\n    ,  \"notNumber\"        :  notNumber\n    ,  \"standardizePath\"  :  standardizePath\n    ,  \"isValidPath\"      :  isValidPath\n    ,  \"notValidPath\"     :  notValidPath\n    ,  \"urlParse\"         :  urlParse\n    ,  \"isFolderSync\"     :  isFolderSync\n    ,  \"isFileSync\"       :  isFileSync\n    ,  \"filesHereSync\"    :  filesHereSync\n    ,  \"formPath\"         :  formPath\n    ,  \"fileName\"         :  fileName\n    ,  \"fullPath\"         :  fullPath\n    ,  \"parentFolder\"     :  parentFolder\n    ,  \"loadFileSync\"     :  loadFileSync\n    ,  \"loadFile\"         :  loadFile\n    ,  \"findProperty\"     :  findProperty\n    ,  \"objExtend\"        :  objExtend\n}\n```\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof exports one method: extend(). This method supports\ntwo use cases. To make these methods global, like other native\nlanguage features such as typeof, simply extend root, like so:\n\n```js\nrequire('foolproof').extend(root)\n\nconsole.log( isString('this is a demo') )\n// prints true\n  \nconsole.log( isFunction( function(){} ) )\n// prints true\n```\n\nIf you choose to use foolproof this way, the helpers become like\ntruly native language features, in that they are immutable:\n\n```js\nrequire('foolproof').extend(root)\n\nconsole.log( isString )\n// prints [Function: isString]\n\nisString = null\nconsole.log( isString )\n// prints [Function: isString]\n```\n\nOr, if you would rather attach the helpers to a namespace object,\nsimply pass that to extend(), like so:\n\n```js\nvar fp = {}\nrequire('foolproof').extend(fp)\n\nconsole.log( fp.isString('this is a demo') )\n// prints true\n  \nconsole.log( fp.isFunction( function(){} ) )\n// prints true\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.61-beta","dist":{"shasum":"9dd123e6045c4e9c561f9bcc1314d7f27db9ca4a","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.61-beta.tgz","integrity":"sha512-4pOpWSnNTYBjR3kANBzG2rIxjDwAeLZuf8nDFmFReD0tG5aOu5vcnNITH6NOH+34s/th0BXH4/SghzK+0YEfYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWrkWX1fOfobp81e8YqUjY/brX3kSvrr+AghSEc67zhAIhANZHm2G3asMDUlswAS9Y1qcoWZJXJIBcKB82UmJmXCOS"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]},"0.0.62-beta":{"name":"foolproof","version":"0.0.62-beta","status":"deprecated","author":{"name":"Rob Christian"},"description":"Project deprecated. Use lodash-node.","main":"./foolproof.js","repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"},"keywords":["type-checking","helper"],"license":"MIT","dependencies":{"lodash-node":"~2.3.0"},"readme":"Foolproof.js\n==============\n\n## Status: Deprecated\n\n_Please use lodash-node instead._\n\nPlease refer to the test file. To run it, simply get expect.js and mocha, and run mocha, like this:\n```\n$ cd ~/YourProject/\n$ npm install expect.js\n$ npm install -g mocha\n$ mocha\n```\n\n## Description\n\nFoolproof.js is a group of helper functions intended to extend the\nnative language features for node applications, simplify type checking,\nand allow for graceful handling of unexpected conditions.\n\n## Functions:\n<dl>\n    <dt>systemLogger</dt>\n    <dd>Has use() and epicFail() methods, allows setting of a custom error handler.</dd>\n\n    <dt>E(typeof var)</dt>\n    <dd>A shorthand for (typeof var !== 'undefined')</dd>\n\n    <dt>U(typeof var)</dt>\n    <dd>A shorthand for (typeof var === 'undefined')</dd>\n\n    <dt>failWhen(condition, message, level, errorType)</dt>\n    <dd>A fail-fast method, invokes SystemLogger.EpicFail() when condition is true.</dd>\n\n    <dt>ƒ(typeof var)</dt>\n    <dd>A fail-fast method, always use with typeof.</dd>\n\n    <dt>findProperty(obj, 'parent.child.property')</dt>\n    <dd>Access any properties/sub-properties of obj using dot notation (false if no match).</dd>\n\n    <dt>removeItem(needle, haystack)</dt>\n    <dd>Modifies haystack, removing the item which strictly matches needle.</dd>\n\n    <dt>concatUnique(existing, additional)</dt>\n    <dd>Adds only unique items from additional to existing.</dd>\n\n    <dt>inArray(needle, haystack)</dt>\n    <dd>True if haystack strictly contains needle.</dd>\n\n    <dt>objExtend(to, from)</dt>\n    <dd>Reimplementation of jQuery extend method, minus support for extending jQuery itself.</dd>\n</dl>\n\nComplete list of methods:\n```\nvar methods = {\n       \"U\"                :  U\n    ,  \"E\"                :  E\n    ,  \"dd\"               :  dd\n    ,  \"systemLogger\"     :  systemLogger\n    ,  \"failWhen\"         :  failWhen\n    ,  \"inArray\"          :  inArray\n    ,  \"concatUnique\"     :  concatUnique\n    ,  \"findUnique\"       :  findUnique\n    ,  \"removeItem\"       :  removeItem\n    ,  \"nameOf\"           :  nameOf\n    ,  \"typeOf\"           :  typeOf\n    ,  \"isType\"           :  isType\n    ,  \"isFunction\"       :  isFunction\n    ,  \"isObject\"         :  isObject\n    ,  \"isBoolean\"        :  isBoolean\n    ,  \"isString\"         :  isString\n    ,  \"isRegex\"          :  isRegex\n    ,  \"isArray\"          :  isArray\n    ,  \"isNull\"           :  isNull\n    ,  \"isNumber\"         :  isNumber\n    ,  \"isNumeric\"        :  isNumeric\n    ,  \"isTruthy\"         :  isTruthy\n    ,  \"isFalsey\"         :  isFalsey\n    ,  \"isNot\"            :  isNot\n    ,  \"notFunction\"      :  notFunction\n    ,  \"notObject\"        :  notObject\n    ,  \"notBoolean\"       :  notBoolean\n    ,  \"notString\"        :  notString\n    ,  \"notRegExp\"        :  notRegExp\n    ,  \"notArray\"         :  notArray\n    ,  \"notNull\"          :  notNull\n    ,  \"notNumber\"        :  notNumber\n    ,  \"standardizePath\"  :  standardizePath\n    ,  \"isValidPath\"      :  isValidPath\n    ,  \"notValidPath\"     :  notValidPath\n    ,  \"urlParse\"         :  urlParse\n    ,  \"isFolderSync\"     :  isFolderSync\n    ,  \"isFileSync\"       :  isFileSync\n    ,  \"filesHereSync\"    :  filesHereSync\n    ,  \"formPath\"         :  formPath\n    ,  \"fileName\"         :  fileName\n    ,  \"fullPath\"         :  fullPath\n    ,  \"parentFolder\"     :  parentFolder\n    ,  \"loadFileSync\"     :  loadFileSync\n    ,  \"loadFile\"         :  loadFile\n    ,  \"findProperty\"     :  findProperty\n    ,  \"objExtend\"        :  objExtend\n}\n```\n\n\n### Available from npm\n`$ npm install foolproof`\n\nwill add it to your node_modules folder.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof provides a function (extend) which allows you to decide\nhow to add the helpers to your project.\n\n```js\nrequire('foolproof').extend(root)\n// Adds helpers to the node global object.\n\nconsole.log( isString('this is a demo') )\n// prints true\n  \nconsole.log( isFunction( function(){} ) )\n// prints true\n```\n\nIf you choose to use foolproof this way, the helpers become like\ntruly native language features, in that they are immutable:\n\n```js\nrequire('foolproof').extend(root)\n\nconsole.log( isString )\n// prints [Function: isString]\n\nisString = null\nconsole.log( isString )\n// prints [Function: isString]\n```\n\nOr, if you would rather attach the helpers to a namespace object,\nsimply pass that to extend(), like so:\n\n```js\nvar fp = {}\nrequire('foolproof').extend(fp)\n\nconsole.log( fp.isString('this is a demo') )\n// prints true\n  \nconsole.log( fp.isFunction( function(){} ) )\n// prints true\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rm-rf-etc/foolproof/issues"},"_id":"foolproof@0.0.62-beta","dist":{"shasum":"090fb17a4765df8f0488a024850f65cca8886025","tarball":"https://registry.npmjs.org/foolproof/-/foolproof-0.0.62-beta.tgz","integrity":"sha512-Pn5iznDAQSUzpKVfeCVlVJM7Jb9R2Ulr3fI0rp4mBD+4zB4HM5n/in5+OnIIRhH4j26uRNagjZ21JXt7B26+YQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAe4VngO7DOQ6pBvEE7uMaRo9PtyI4r7TCFj5rRF2R8tAiEAjL/UcYZI/JPIZu/6eKZ0QRH9nGqu+7Z8jPLxgMYOoro="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"},"maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}]}},"readme":"Foolproof.js\n==============\n\n\n### not available on npm just yet...\n\n\nFoolproof.js is a group of helper functions for type checking.\nYou can pass any object to a foolproof helper function and be\ncertain it will never throw a nasty error since typeof is the first\ncheck that is always done on any value given.\n\nPrototype.toString is used to provide more specific object type\ninfo. Try typeOf() on any object.\n\n\nHow to Include Foolproof.js\n-----------------------------\n\nFoolproof gives you a couple options. Mainly we want to make it\neasy to use the helper functions as you would any other native JS\nfeature.\n\nYou could use it like this:\n\n```js\nvar bp = require('foolproof')()\n\nalert( bp.isString('this is a demo') );\n```\n\nBut it was intended to make the helper functions available natively\nin your app's context, like this:\n\n```js\nvar App = (function(){\n\n  require('foolproof').apply(this);\n\n  // does stuff...\n\n  alert( isString('this is a demo') );\n\n  return this\n})()\n```\n\n","maintainers":[{"name":"rm.rf.etc","email":"rm.rf.etc@gmail.com"}],"time":{"modified":"2022-06-18T02:52:42.799Z","created":"2013-10-09T08:04:06.530Z","0.0.0":"2013-10-09T08:04:07.975Z","0.0.1":"2013-10-11T00:31:22.893Z","0.0.2":"2013-10-12T05:10:08.508Z","0.0.3":"2013-10-13T10:27:29.773Z","0.0.31":"2013-10-13T11:08:38.616Z","0.0.4":"2013-10-14T02:17:23.032Z","0.0.41":"2013-10-14T02:38:16.451Z","0.0.46-beta":"2013-10-27T08:25:49.954Z","0.0.47-beta":"2013-10-28T07:20:07.356Z","0.0.5-beta":"2013-10-28T07:57:24.486Z","0.0.6-beta":"2013-11-20T07:48:53.096Z","0.0.61-beta":"2013-11-21T05:14:40.031Z","0.0.62-beta":"2013-12-28T05:53:00.864Z"},"author":{"name":"Rob Christian"},"repository":{"type":"git","url":"https://github.com/rm-rf-etc/foolproof.git"}}