mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-12-17 17:29:04 +00:00
update
This commit is contained in:
21
node_modules/is-whitespace/LICENSE
generated
vendored
Normal file
21
node_modules/is-whitespace/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015 Jon Schlinkert
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
47
node_modules/is-whitespace/README.md
generated
vendored
Normal file
47
node_modules/is-whitespace/README.md
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
# is-whitespace [](http://badge.fury.io/js/is-whitespace) [](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._
|
||||
19
node_modules/is-whitespace/index.js
generated
vendored
Normal file
19
node_modules/is-whitespace/index.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* is-whitespace <https://github.com/jonschlinkert/is-whitespace>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var cache;
|
||||
|
||||
module.exports = function isWhitespace(str) {
|
||||
return (typeof str === 'string') && regex().test(str);
|
||||
};
|
||||
|
||||
function regex() {
|
||||
// ensure that runtime compilation only happens once
|
||||
return cache || (cache = new RegExp('^[\\s\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"]+$'));
|
||||
}
|
||||
75
node_modules/is-whitespace/package.json
generated
vendored
Normal file
75
node_modules/is-whitespace/package.json
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"is-whitespace@0.3.0",
|
||||
"/Users/tatiana/selfdefined"
|
||||
]
|
||||
],
|
||||
"_from": "is-whitespace@0.3.0",
|
||||
"_id": "is-whitespace@0.3.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Fjnssb4DauxppUy7QBz77XEUq38=",
|
||||
"_location": "/is-whitespace",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "is-whitespace@0.3.0",
|
||||
"name": "is-whitespace",
|
||||
"escapedName": "is-whitespace",
|
||||
"rawSpec": "0.3.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.3.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/condense-newlines"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-whitespace/-/is-whitespace-0.3.0.tgz",
|
||||
"_spec": "0.3.0",
|
||||
"_where": "/Users/tatiana/selfdefined",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/is-whitespace/issues"
|
||||
},
|
||||
"description": "Returns true if the value passed is all whitespace.",
|
||||
"devDependencies": {
|
||||
"mocha": "^2.2.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/is-whitespace",
|
||||
"keywords": [
|
||||
"character",
|
||||
"characters",
|
||||
"check",
|
||||
"is",
|
||||
"match",
|
||||
"regex",
|
||||
"space",
|
||||
"string",
|
||||
"test",
|
||||
"white",
|
||||
"whitespace"
|
||||
],
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/jonschlinkert/is-whitespace/blob/master/LICENSE"
|
||||
},
|
||||
"main": "index.js",
|
||||
"name": "is-whitespace",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/is-whitespace.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "0.3.0"
|
||||
}
|
||||
Reference in New Issue
Block a user