{"id":15503047,"url":"https://github.com/johno/is-blank","last_synced_at":"2026-04-04T13:00:52.306Z","repository":{"id":24252350,"uuid":"27645811","full_name":"johno/is-blank","owner":"johno","description":"Check whether a value is empty or blank, includes string whitespace support.","archived":false,"fork":false,"pushed_at":"2017-02-24T01:33:53.000Z","size":10,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-20T20:56:58.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johno.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-06T19:15:09.000Z","updated_at":"2022-03-13T07:20:02.000Z","dependencies_parsed_at":"2022-08-25T04:13:08.978Z","dependency_job_id":null,"html_url":"https://github.com/johno/is-blank","commit_stats":null,"previous_names":["johnotander/is-blank"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/johno/is-blank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fis-blank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fis-blank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fis-blank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fis-blank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/is-blank/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fis-blank/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31400460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T09:11:56.952Z","updated_at":"2026-04-04T13:00:52.262Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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([])              // =\u003e true\nisBlank({})              // =\u003e true\nisBlank(0)               // =\u003e true\nisBlank(function(){})    // =\u003e true\nisBlank(null)            // =\u003e true\nisBlank(undefined)       // =\u003e true\nisBlank('')              // =\u003e true\nisBlank('    ')          // =\u003e true\nisBlank('\\r\\t\\n ')       // =\u003e true\n\nisBlank(['a', 'b'])      // =\u003e false\nisBlank({ a: 'b' })      // =\u003e false\nisBlank('string')        // =\u003e false\nisBlank(42)              // =\u003e false\nisBlank(function(a,b){}) // =\u003e 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 \u003c3 by [John Otander](http://johnotander.com) ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fis-blank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fis-blank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fis-blank/lists"}