public_library_map/node_modules/is-whitespace/README.md
2021-09-05 10:12:48 +00:00

48 lines
1.4 KiB
Markdown

# is-whitespace [![NPM version](https://badge.fury.io/js/is-whitespace.svg)](http://badge.fury.io/js/is-whitespace) [![Build Status](https://travis-ci.org/jonschlinkert/is-whitespace.svg)](https://travis-ci.org/jonschlinkert/is-whitespace)
> Returns true if the value passed is all whitespace.
## Install with [npm](npmjs.org)
```bash
npm i is-whitespace --save
```
## Usage
```js
var isWhitespace = require('is-whitespace');
console.log(isWhitespace(' '));
//=> true
```
## Related projects
* [is-glob](https://github.com/jonschlinkert/is-glob): Returns `true` if the given string looks like a glob pattern.
* [is-absolute](https://github.com/jonschlinkert/is-absolute): Return true if a file path is absolute.
* [is-relative](https://github.com/jonschlinkert/is-relative): Returns `true` if the path appears to be relative.
## Running tests
Install dev dependencies:
```bash
npm i -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-whitespace/issues)
## Author
**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license
***
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 31, 2015._