summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/x-is-string
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/x-is-string')
-rw-r--r--tools/node_modules/eslint/node_modules/x-is-string/LICENCE19
-rw-r--r--tools/node_modules/eslint/node_modules/x-is-string/README.md46
-rw-r--r--tools/node_modules/eslint/node_modules/x-is-string/index.js7
-rw-r--r--tools/node_modules/eslint/node_modules/x-is-string/package.json86
4 files changed, 158 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/x-is-string/LICENCE b/tools/node_modules/eslint/node_modules/x-is-string/LICENCE
new file mode 100644
index 0000000000..0d0834052f
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/x-is-string/LICENCE
@@ -0,0 +1,19 @@
+Copyright (c) 2014 Matt-Esch.
+
+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.
diff --git a/tools/node_modules/eslint/node_modules/x-is-string/README.md b/tools/node_modules/eslint/node_modules/x-is-string/README.md
new file mode 100644
index 0000000000..99977d475a
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/x-is-string/README.md
@@ -0,0 +1,46 @@
+# x-is-string
+
+Simple string test
+
+## Example
+
+```js
+var isString = require("x-is-string")
+
+isString("hello")
+// -> true
+
+isString("")
+// -> true
+
+isString(new String("things"))
+// -> true
+
+isString(1)
+// -> false
+
+isString(true)
+// -> false
+
+isString(new Date())
+// -> false
+
+isString({})
+// -> false
+
+isString(null)
+// -> false
+
+isString(undefined)
+// -> false
+```
+
+## Installation
+
+`npm install x-is-string`
+
+## Contributors
+
+ - Matt-Esch
+
+## MIT Licenced \ No newline at end of file
diff --git a/tools/node_modules/eslint/node_modules/x-is-string/index.js b/tools/node_modules/eslint/node_modules/x-is-string/index.js
new file mode 100644
index 0000000000..090130d4ce
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/x-is-string/index.js
@@ -0,0 +1,7 @@
+var toString = Object.prototype.toString
+
+module.exports = isString
+
+function isString(obj) {
+ return toString.call(obj) === "[object String]"
+}
diff --git a/tools/node_modules/eslint/node_modules/x-is-string/package.json b/tools/node_modules/eslint/node_modules/x-is-string/package.json
new file mode 100644
index 0000000000..cc8de6ac80
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/x-is-string/package.json
@@ -0,0 +1,86 @@
+{
+ "_from": "x-is-string@^0.1.0",
+ "_id": "x-is-string@0.1.0",
+ "_inBundle": false,
+ "_integrity": "sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI=",
+ "_location": "/x-is-string",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "x-is-string@^0.1.0",
+ "name": "x-is-string",
+ "escapedName": "x-is-string",
+ "rawSpec": "^0.1.0",
+ "saveSpec": null,
+ "fetchSpec": "^0.1.0"
+ },
+ "_requiredBy": [
+ "/unified"
+ ],
+ "_resolved": "https://registry.npmjs.org/x-is-string/-/x-is-string-0.1.0.tgz",
+ "_shasum": "474b50865af3a49a9c4657f05acd145458f77d82",
+ "_spec": "x-is-string@^0.1.0",
+ "_where": "/Users/cjihrig/iojs/node/tools/eslint-tmp/node_modules/eslint/node_modules/unified",
+ "author": {
+ "name": "Matt-Esch",
+ "email": "matt@mattesch.info"
+ },
+ "bugs": {
+ "url": "https://github.com/Matt-Esch/x-is-string/issues",
+ "email": "matt@mattesch.info"
+ },
+ "bundleDependencies": false,
+ "contributors": [
+ {
+ "name": "Matt-Esch"
+ }
+ ],
+ "dependencies": {},
+ "deprecated": false,
+ "description": "Simple string test",
+ "devDependencies": {
+ "tape": "^2.12.2"
+ },
+ "homepage": "https://github.com/Matt-Esch/x-is-string",
+ "keywords": [],
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "http://github.com/Matt-Esch/x-is-string/raw/master/LICENSE"
+ }
+ ],
+ "main": "index",
+ "name": "x-is-string",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/Matt-Esch/x-is-string.git"
+ },
+ "scripts": {
+ "cover": "istanbul cover --report none --print detail ./test/index.js",
+ "start": "node ./index.js",
+ "test": "node ./test/index.js",
+ "test-browser": "testem-browser ./test/browser/index.js",
+ "testem": "testem-both -b=./test/browser/index.js",
+ "travis-test": "istanbul cover ./test/index.js && ((cat coverage/lcov.info | coveralls) || exit 0)",
+ "view-cover": "istanbul report html && google-chrome ./coverage/index.html",
+ "watch": "nodemon -w ./index.js index.js"
+ },
+ "testling": {
+ "files": "test/index.js",
+ "browsers": [
+ "ie/8..latest",
+ "firefox/16..latest",
+ "firefox/nightly",
+ "chrome/22..latest",
+ "chrome/canary",
+ "opera/12..latest",
+ "opera/next",
+ "safari/5.1..latest",
+ "ipad/6.0..latest",
+ "iphone/6.0..latest",
+ "android-browser/4.2..latest"
+ ]
+ },
+ "version": "0.1.0"
+}