{"_id":"is-blank","_rev":"297399","name":"is-blank","description":"Check whether a value is empty or blank, includes string whitespace support","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"time":{"modified":"2021-06-03T18:59:48.000Z","created":"2014-12-06T19:29:56.469Z","2.1.0":"2017-02-24T01:33:57.410Z","2.0.0":"2017-02-23T21:03:00.834Z","1.1.0":"2015-10-22T03:27:46.113Z","1.0.0":"2015-09-30T21:07:06.556Z","0.0.1":"2014-12-06T19:29:56.469Z"},"users":{},"author":{"name":"John Otander"},"repository":{"type":"git","url":"git+https://github.com/johnotander/is-blank.git"},"versions":{"2.1.0":{"name":"is-blank","version":"2.1.0","description":"Check whether a value is empty or blank, includes string whitespace support","author":{"name":"John Otander"},"main":"index.js","files":["index.js"],"scripts":{"test":"ava -v"},"repository":{"type":"git","url":"git+https://github.com/johnotander/is-blank.git"},"keywords":["string","blank","whitespace","object","array","empty"],"license":"MIT","devDependencies":{"ava":"*"},"dependencies":{"is-empty":"latest","is-whitespace":"latest"},"gitHead":"d71e651243864160941911653dd60f1e9b261f1f","bugs":{"url":"https://github.com/johnotander/is-blank/issues"},"homepage":"https://github.com/johnotander/is-blank#readme","_id":"is-blank@2.1.0","_shasum":"69a73d3c0d4f417dfffb207a2795c0f0e576de04","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"69a73d3c0d4f417dfffb207a2795c0f0e576de04","size":1872,"noattachment":false,"key":"/is-blank/-/is-blank-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-blank/download/is-blank-2.1.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-blank-2.1.0.tgz_1487900035391_0.583787479903549"},"directories":{},"publish_time":1487900037410,"_cnpm_publish_time":1487900037410,"_hasShrinkwrap":false},"2.0.0":{"name":"is-blank","version":"2.0.0","description":"Check whether a value is empty or blank, includes string whitespace support","author":{"name":"John Otander"},"main":"index.js","files":["index.js"],"scripts":{"test":"ava -v"},"repository":{"type":"git","url":"git+https://github.com/johnotander/is-blank.git"},"keywords":["string","blank","whitespace","object","array","empty"],"license":"MIT","devDependencies":{"ava":"*"},"dependencies":{"is-empty":"latest","is-whitespace":"latest"},"gitHead":"ed0572129c254972f51ae906d4ae223e207e53b9","bugs":{"url":"https://github.com/johnotander/is-blank/issues"},"homepage":"https://github.com/johnotander/is-blank#readme","_id":"is-blank@2.0.0","_shasum":"ff9a48a5b6712ec939fbe75b304fc8317b9dd272","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"ff9a48a5b6712ec939fbe75b304fc8317b9dd272","size":1854,"noattachment":false,"key":"/is-blank/-/is-blank-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-blank/download/is-blank-2.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-blank-2.0.0.tgz_1487883779034_0.7776059934403747"},"directories":{},"publish_time":1487883780834,"_cnpm_publish_time":1487883780834,"_hasShrinkwrap":false},"1.1.0":{"name":"is-blank","version":"1.1.0","description":"Check whether a value is empty or blank, includes string whitespace support.","author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"main":"index.js","files":["index.js"],"scripts":{"test":"ava"},"repository":{"type":"git","url":"git+https://github.com/johnotander/is-blank.git"},"keywords":["string","blank","whitespace","object","array","empty"],"license":"MIT","bugs":{"url":"https://github.com/johnotander/is-blank/issues"},"homepage":"https://github.com/johnotander/is-blank","devDependencies":{"ava":"*"},"dependencies":{"is-empty":"0.0.1","is-whitespace":"^0.3.0"},"gitHead":"85781015525a466d3c14ff964da5ed621d06974e","_id":"is-blank@1.1.0","_shasum":"9274ddbd46363cb767075c385d4ab88c6a64dc17","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.1.1","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"9274ddbd46363cb767075c385d4ab88c6a64dc17","size":1945,"noattachment":false,"key":"/is-blank/-/is-blank-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-blank/download/is-blank-1.1.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"directories":{},"publish_time":1445484466113,"_cnpm_publish_time":1445484466113,"_hasShrinkwrap":false},"1.0.0":{"name":"is-blank","version":"1.0.0","description":"Check whether a value is empty or blank, includes string whitespace support.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/johnotander/is-blank.git"},"keywords":["string","blank","whitespace","object","array","empty"],"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"license":"MIT","bugs":{"url":"https://github.com/johnotander/is-blank/issues"},"homepage":"https://github.com/johnotander/is-blank","devDependencies":{"mocha":"^2.0.1"},"dependencies":{"is-empty":"0.0.1","is-whitespace":"^0.3.0"},"gitHead":"bf31052c82a037ac280a2d08873d561b0b73db8a","_id":"is-blank@1.0.0","_shasum":"60e39beb41f92c3b27acbb5029cb0f29f983ee67","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"60e39beb41f92c3b27acbb5029cb0f29f983ee67","size":2200,"noattachment":false,"key":"/is-blank/-/is-blank-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-blank/download/is-blank-1.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"publish_time":1443647226556,"_cnpm_publish_time":1443647226556,"_hasShrinkwrap":false},"0.0.1":{"name":"is-blank","version":"0.0.1","description":"Check whether a value is empty or blank, includes string whitespace support.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/johnotander/is-blank.git"},"keywords":["string","blank","whitespace","object","array","empty"],"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"license":"MIT","bugs":{"url":"https://github.com/johnotander/is-blank/issues"},"homepage":"https://github.com/johnotander/is-blank","devDependencies":{"mocha":"^2.0.1"},"dependencies":{"is-empty":"0.0.1","is-whitespace":"^0.2.0"},"gitHead":"b20d5f0ddcde56165c933de53bc07c7964885fd9","_id":"is-blank@0.0.1","_shasum":"3e237859d9f228e36fc1edb43a622994da800551","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"dist":{"shasum":"3e237859d9f228e36fc1edb43a622994da800551","size":2210,"noattachment":false,"key":"/is-blank/-/is-blank-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-blank/download/is-blank-0.0.1.tgz"},"publish_time":1417894196469,"_cnpm_publish_time":1417894196469,"_hasShrinkwrap":false}},"readme":"# is-blank [![Build Status](https://travis-ci.org/johnotander/is-blank.svg?branch=master)](https://travis-ci.org/johnotander/is-blank) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nCheck whether a value is empty or blank.\n\n## Installation\n\n```\nnpm i -S is-blank\n```\n\n## Usage\n\n```js\nconst isBlank = require('is-blank')\n\nisBlank([])              // => true\nisBlank({})              // => true\nisBlank(0)               // => true\nisBlank(function(){})    // => true\nisBlank(null)            // => true\nisBlank(undefined)       // => true\nisBlank('')              // => true\nisBlank('    ')          // => true\nisBlank('\\r\\t\\n ')       // => true\n\nisBlank(['a', 'b'])      // => false\nisBlank({ a: 'b' })      // => false\nisBlank('string')        // => false\nisBlank(42)              // => false\nisBlank(function(a,b){}) // => false\n```\n\n## Related\n\n- [is-empty](https://github.com/ianstormtaylor/is-empty)\n- [is-whitespace](https://github.com/jonschlinkert/is-whitespace)\n- [is-present](https://github.com/johnotander/is-present)\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with <3 by [John Otander](http://johnotander.com) ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","_attachments":{},"homepage":"https://github.com/johnotander/is-blank#readme","bugs":{"url":"https://github.com/johnotander/is-blank/issues"},"license":"MIT"}