{"id":15503087,"url":"https://github.com/johno/has-whitespace","last_synced_at":"2026-07-02T10:32:17.419Z","repository":{"id":25876944,"uuid":"29317175","full_name":"johno/has-whitespace","owner":"johno","description":"Check whether a string contains whitespace","archived":false,"fork":false,"pushed_at":"2015-10-18T01:38:07.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-28T02:53:27.230Z","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":"2015-01-15T20:39:57.000Z","updated_at":"2015-01-27T07:20:37.000Z","dependencies_parsed_at":"2022-08-25T05:11:41.873Z","dependency_job_id":null,"html_url":"https://github.com/johno/has-whitespace","commit_stats":null,"previous_names":["johnotander/has-whitespace"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/johno/has-whitespace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhas-whitespace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhas-whitespace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhas-whitespace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhas-whitespace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/has-whitespace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhas-whitespace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35043933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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:12:09.539Z","updated_at":"2026-07-02T10:32:17.402Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# has-whitespace [![Build Status](https://secure.travis-ci.org/johnotander/has-whitespace.png?branch=master)](https://travis-ci.org/johnotander/has-whitespace) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nCheck whether a string contains whitespace.\n\n## Installation\n\n```bash\nnpm install --save has-whitespace\n```\n\n## Usage\n\n```javascript\nvar hasWhitespace = require('has-whitespace')\n\nhasWhitespace('foo')  // false\nhasWhitespace('bar')  // false\n\nhasWhitespace(' foo ')  // true\nhasWhitespace('bar\\r')  // true\n```\n\n## License\n\nMIT\n\n## Acknowledgements\n\n* [is-whitespace](https://github.com/jonschlinkert/is-whitespace)\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%2Fhas-whitespace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fhas-whitespace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fhas-whitespace/lists"}