{"_id":"is-present","_rev":"6-cf1b53d87655d547d1e84248e405fbfa","name":"is-present","description":"Check whether a value is nonblank.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"is-present","version":"0.0.1","description":"Check whether a value is nonblank.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/johnotander/is-present.git"},"keywords":["string","present","presence","nonblank","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-present/issues"},"homepage":"https://github.com/johnotander/is-present","devDependencies":{"mocha":"^2.0.1"},"dependencies":{"is-blank":"0.0.1"},"gitHead":"5811c54a7e5f159283fcd271e34a64915ee24f23","_id":"is-present@0.0.1","_shasum":"37cd222beea1965b575acd31e5142e93a9cc2ab5","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.30","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"dist":{"shasum":"37cd222beea1965b575acd31e5142e93a9cc2ab5","tarball":"https://registry.npmjs.org/is-present/-/is-present-0.0.1.tgz","integrity":"sha512-rdURkMDKuNLENasYlnIitDAqTzxLpqEf4kkvbcEjH50x7loS5HngeUadCD7Few+//F+577/YyZduorbLrWptrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWCpBqyGcbY3m/2YtaN7tLDYlFnnQMZeXz/sNNAEqfTAiEAjWl3t2WtpoFfZ9okiXxF+Z1CLfgtwxyrgj51p5azZS4="}]}},"1.0.0":{"name":"is-present","version":"1.0.0","description":"Check whether a value is nonblank.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/johnotander/is-present.git"},"keywords":["string","present","presence","nonblank","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-present/issues"},"homepage":"https://github.com/johnotander/is-present","devDependencies":{"mocha":"^2.0.1"},"dependencies":{"is-blank":"1.0.0"},"gitHead":"f12da2aa0a809d65a3930cb79e72c5134ad5717c","_id":"is-present@1.0.0","_shasum":"29c9b8e8e6e786a594c292fc7239aa24be70b80c","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"29c9b8e8e6e786a594c292fc7239aa24be70b80c","tarball":"https://registry.npmjs.org/is-present/-/is-present-1.0.0.tgz","integrity":"sha512-k3hcumGPxoqTO0fs5aoomkyDjViXgb7lWBB/iFIn+zg9EepNJwUJmi+BzD3k2i0fNTMWYRBHGLOTPtOEzFREVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIkTuDQ+Quzhs+kXfX9g/eyYiq2U+MDoqqwkUVO4XL+wIhAIBTnqnmCoPw5Ztg4oyJUE4aNHbp70PWTheGHAymAZON"}]},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}]}},"readme":"# is-present [![Build Status](https://travis-ci.org/johnotander/is-present.svg?branch=master)](https://travis-ci.org/johnotander/is-present)\n\nCheck whether a value is nonblank.\n\n## Installation\n\n```\nnpm i --save is-present\n```\n\n## Usage\n\n```javascript\nvar isPresent = require('is-present');\n\nisPresent([]);              // => false\nisPresent({});              // => false\nisPresent(0);               // => false\nisPresent(function(){});    // => false\nisPresent(null);            // => false\nisPresent(undefined);       // => false\nisPresent('');              // => false\nisPresent('    ');          // => false\nisPresent('\\r\\t\\n ');       // => false\n\nisPresent(['a', 'b']);      // => true\nisPresent({ a: 'b' });      // => true\nisPresent('string');        // => true\nisPresent(42);              // => true\nisPresent(function(a,b){}); // => true\n```\n\n## Acknowledgements\n\nA negation for [is-blank](https://github.com/johnotander/is-blank) which extends\n[is-empty](https://github.com/ianstormtaylor/is-empty) and\n[is-whitespace](https://github.com/jonschlinkert/is-whitespace).\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","maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"time":{"modified":"2022-06-19T02:48:36.174Z","created":"2015-01-06T00:52:44.865Z","0.0.1":"2015-01-06T00:52:44.865Z","1.0.0":"2015-09-30T21:12:33.949Z"},"homepage":"https://github.com/johnotander/is-present","keywords":["string","present","presence","nonblank","blank","whitespace","object","array","empty"],"repository":{"type":"git","url":"git+https://github.com/johnotander/is-present.git"},"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"bugs":{"url":"https://github.com/johnotander/is-present/issues"},"license":"MIT","readmeFilename":"README.md","users":{"rocket0191":true}}