| 1 |
{ |
| 2 |
"_id": "is-string", |
| 3 |
"_rev": "11-b41d7afc1f65205f051a0e6d1487e462", |
| 4 |
"name": "is-string", |
| 5 |
"description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.0.5" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "is-string", |
| 12 |
"version": "1.0.0", |
| 13 |
"author": { |
| 14 |
"name": "Jordan Harband" |
| 15 |
}, |
| 16 |
"description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 17 |
"license": "MIT", |
| 18 |
"main": "index.js", |
| 19 |
"scripts": { |
| 20 |
"test": "npm run lint && node --harmony --es-staging test.js && npm run security", |
| 21 |
"coverage": "covert test.js", |
| 22 |
"coverage-quiet": "covert test.js --quiet", |
| 23 |
"lint": "npm run jscs && npm run eslint", |
| 24 |
"jscs": "jscs test.js *.js", |
| 25 |
"eslint": "eslint test.js *.js", |
| 26 |
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", |
| 27 |
"security": "nsp package" |
| 28 |
}, |
| 29 |
"repository": { |
| 30 |
"type": "git", |
| 31 |
"url": "git://github.com/ljharb/is-string.git" |
| 32 |
}, |
| 33 |
"keywords": [ |
| 34 |
"String", |
| 35 |
"string", |
| 36 |
"ES6", |
| 37 |
"toStringTag", |
| 38 |
"@@toStringTag", |
| 39 |
"String object" |
| 40 |
], |
| 41 |
"dependencies": {}, |
| 42 |
"devDependencies": { |
| 43 |
"foreach": "~2.0.5", |
| 44 |
"is": "~2.2.0", |
| 45 |
"tape": "~3.4.0", |
| 46 |
"indexof": "~0.0.1", |
| 47 |
"covert": "1.0.0", |
| 48 |
"jscs": "~1.10.0", |
| 49 |
"editorconfig-tools": "~0.0.1", |
| 50 |
"nsp": "~1.0.0", |
| 51 |
"eslint": "~0.13.0", |
| 52 |
"semver": "~4.2.0" |
| 53 |
}, |
| 54 |
"testling": { |
| 55 |
"files": "test.js", |
| 56 |
"browsers": [ |
| 57 |
"iexplore/6.0..latest", |
| 58 |
"firefox/3.0..6.0", |
| 59 |
"firefox/15.0..latest", |
| 60 |
"firefox/nightly", |
| 61 |
"chrome/4.0..10.0", |
| 62 |
"chrome/20.0..latest", |
| 63 |
"chrome/canary", |
| 64 |
"opera/10.0..latest", |
| 65 |
"opera/next", |
| 66 |
"safari/4.0..latest", |
| 67 |
"ipad/6.0..latest", |
| 68 |
"iphone/6.0..latest", |
| 69 |
"android-browser/4.2" |
| 70 |
] |
| 71 |
}, |
| 72 |
"engines": { |
| 73 |
"node": ">= 0.4" |
| 74 |
}, |
| 75 |
"gitHead": "b85f8e81b1b00643d732a91a28df2556b9019c0f", |
| 76 |
"bugs": { |
| 77 |
"url": "https://github.com/ljharb/is-string/issues" |
| 78 |
}, |
| 79 |
"homepage": "https://github.com/ljharb/is-string", |
| 80 |
"_id": "[email protected]", |
| 81 |
"_shasum": "7f13aa94f67b7ed5c6c6884efd40192bf8b4a6c1", |
| 82 |
"_from": ".", |
| 83 |
"_npmVersion": "2.3.0", |
| 84 |
"_nodeVersion": "1.0.4", |
| 85 |
"_npmUser": { |
| 86 |
"name": "ljharb", |
| 87 |
"email": "[email protected]" |
| 88 |
}, |
| 89 |
"maintainers": [ |
| 90 |
{ |
| 91 |
"name": "ljharb", |
| 92 |
"email": "[email protected]" |
| 93 |
} |
| 94 |
], |
| 95 |
"dist": { |
| 96 |
"shasum": "7f13aa94f67b7ed5c6c6884efd40192bf8b4a6c1", |
| 97 |
"tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.0.tgz" |
| 98 |
}, |
| 99 |
"directories": {} |
| 100 |
}, |
| 101 |
"1.0.1": { |
| 102 |
"name": "is-string", |
| 103 |
"version": "1.0.1", |
| 104 |
"author": { |
| 105 |
"name": "Jordan Harband" |
| 106 |
}, |
| 107 |
"description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 108 |
"license": "MIT", |
| 109 |
"main": "index.js", |
| 110 |
"scripts": { |
| 111 |
"test": "npm run lint && node --harmony --es-staging test.js && npm run security", |
| 112 |
"coverage": "covert test.js", |
| 113 |
"coverage-quiet": "covert test.js --quiet", |
| 114 |
"lint": "npm run jscs && npm run eslint", |
| 115 |
"jscs": "jscs test.js *.js", |
| 116 |
"eslint": "eslint test.js *.js", |
| 117 |
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", |
| 118 |
"security": "nsp package" |
| 119 |
}, |
| 120 |
"repository": { |
| 121 |
"type": "git", |
| 122 |
"url": "git://github.com/ljharb/is-string.git" |
| 123 |
}, |
| 124 |
"keywords": [ |
| 125 |
"String", |
| 126 |
"string", |
| 127 |
"ES6", |
| 128 |
"toStringTag", |
| 129 |
"@@toStringTag", |
| 130 |
"String object" |
| 131 |
], |
| 132 |
"dependencies": {}, |
| 133 |
"devDependencies": { |
| 134 |
"foreach": "~2.0.5", |
| 135 |
"is": "~2.2.0", |
| 136 |
"tape": "~3.4.0", |
| 137 |
"indexof": "~0.0.1", |
| 138 |
"covert": "1.0.1", |
| 139 |
"jscs": "~1.10.0", |
| 140 |
"editorconfig-tools": "~0.0.1", |
| 141 |
"nsp": "~1.0.1", |
| 142 |
"eslint": "~0.13.0", |
| 143 |
"semver": "~4.2.0" |
| 144 |
}, |
| 145 |
"testling": { |
| 146 |
"files": "test.js", |
| 147 |
"browsers": [ |
| 148 |
"iexplore/6.0..latest", |
| 149 |
"firefox/3.0..6.0", |
| 150 |
"firefox/15.0..latest", |
| 151 |
"firefox/nightly", |
| 152 |
"chrome/4.0..10.0", |
| 153 |
"chrome/20.0..latest", |
| 154 |
"chrome/canary", |
| 155 |
"opera/10.0..latest", |
| 156 |
"opera/next", |
| 157 |
"safari/4.0..latest", |
| 158 |
"ipad/6.0..latest", |
| 159 |
"iphone/6.0..latest", |
| 160 |
"android-browser/4.2" |
| 161 |
] |
| 162 |
}, |
| 163 |
"engines": { |
| 164 |
"node": ">= 0.4" |
| 165 |
}, |
| 166 |
"gitHead": "cdcb9ff46f78715e8aea501520931a364b55cb38", |
| 167 |
"bugs": { |
| 168 |
"url": "https://github.com/ljharb/is-string/issues" |
| 169 |
}, |
| 170 |
"homepage": "https://github.com/ljharb/is-string", |
| 171 |
"_id": "[email protected]", |
| 172 |
"_shasum": "8fb31696250ff0cde959a1c77a46fc2ff04e1d29", |
| 173 |
"_from": ".", |
| 174 |
"_npmVersion": "2.3.0", |
| 175 |
"_nodeVersion": "1.0.4", |
| 176 |
"_npmUser": { |
| 177 |
"name": "ljharb", |
| 178 |
"email": "[email protected]" |
| 179 |
}, |
| 180 |
"maintainers": [ |
| 181 |
{ |
| 182 |
"name": "ljharb", |
| 183 |
"email": "[email protected]" |
| 184 |
} |
| 185 |
], |
| 186 |
"dist": { |
| 187 |
"shasum": "8fb31696250ff0cde959a1c77a46fc2ff04e1d29", |
| 188 |
"tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.1.tgz" |
| 189 |
}, |
| 190 |
"directories": {} |
| 191 |
}, |
| 192 |
"1.0.2": { |
| 193 |
"name": "is-string", |
| 194 |
"version": "1.0.2", |
| 195 |
"author": { |
| 196 |
"name": "Jordan Harband" |
| 197 |
}, |
| 198 |
"description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 199 |
"license": "MIT", |
| 200 |
"main": "index.js", |
| 201 |
"scripts": { |
| 202 |
"test": "npm run lint && node --harmony --es-staging test.js && npm run security", |
| 203 |
"coverage": "covert test.js", |
| 204 |
"coverage-quiet": "covert test.js --quiet", |
| 205 |
"lint": "npm run jscs && npm run eslint", |
| 206 |
"jscs": "jscs test.js *.js", |
| 207 |
"eslint": "eslint test.js *.js", |
| 208 |
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", |
| 209 |
"security": "nsp package" |
| 210 |
}, |
| 211 |
"repository": { |
| 212 |
"type": "git", |
| 213 |
"url": "git://github.com/ljharb/is-string.git" |
| 214 |
}, |
| 215 |
"keywords": [ |
| 216 |
"String", |
| 217 |
"string", |
| 218 |
"ES6", |
| 219 |
"toStringTag", |
| 220 |
"@@toStringTag", |
| 221 |
"String object" |
| 222 |
], |
| 223 |
"dependencies": {}, |
| 224 |
"devDependencies": { |
| 225 |
"foreach": "~2.0.5", |
| 226 |
"is": "~2.2.0", |
| 227 |
"tape": "~3.4.0", |
| 228 |
"indexof": "~0.0.1", |
| 229 |
"covert": "1.0.0", |
| 230 |
"jscs": "~1.10.0", |
| 231 |
"editorconfig-tools": "~0.0.1", |
| 232 |
"nsp": "~1.0.0", |
| 233 |
"eslint": "~0.13.0", |
| 234 |
"semver": "~4.2.0" |
| 235 |
}, |
| 236 |
"testling": { |
| 237 |
"files": "test.js", |
| 238 |
"browsers": [ |
| 239 |
"iexplore/6.0..latest", |
| 240 |
"firefox/3.0..6.0", |
| 241 |
"firefox/15.0..latest", |
| 242 |
"firefox/nightly", |
| 243 |
"chrome/4.0..10.0", |
| 244 |
"chrome/20.0..latest", |
| 245 |
"chrome/canary", |
| 246 |
"opera/10.0..latest", |
| 247 |
"opera/next", |
| 248 |
"safari/4.0..latest", |
| 249 |
"ipad/6.0..latest", |
| 250 |
"iphone/6.0..latest", |
| 251 |
"android-browser/4.2" |
| 252 |
] |
| 253 |
}, |
| 254 |
"engines": { |
| 255 |
"node": ">= 0.4" |
| 256 |
}, |
| 257 |
"gitHead": "9e147ee789890b3a9c5eb5270d300ae0fc9584a7", |
| 258 |
"bugs": { |
| 259 |
"url": "https://github.com/ljharb/is-string/issues" |
| 260 |
}, |
| 261 |
"homepage": "https://github.com/ljharb/is-string", |
| 262 |
"_id": "[email protected]", |
| 263 |
"_shasum": "24ed6b08eb6b37d1192d0b24d7c9f0097f8f8b41", |
| 264 |
"_from": ".", |
| 265 |
"_npmVersion": "2.3.0", |
| 266 |
"_nodeVersion": "1.0.4", |
| 267 |
"_npmUser": { |
| 268 |
"name": "ljharb", |
| 269 |
"email": "[email protected]" |
| 270 |
}, |
| 271 |
"maintainers": [ |
| 272 |
{ |
| 273 |
"name": "ljharb", |
| 274 |
"email": "[email protected]" |
| 275 |
} |
| 276 |
], |
| 277 |
"dist": { |
| 278 |
"shasum": "24ed6b08eb6b37d1192d0b24d7c9f0097f8f8b41", |
| 279 |
"tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.2.tgz" |
| 280 |
}, |
| 281 |
"directories": {} |
| 282 |
}, |
| 283 |
"1.0.4": { |
| 284 |
"name": "is-string", |
| 285 |
"version": "1.0.4", |
| 286 |
"author": { |
| 287 |
"name": "Jordan Harband" |
| 288 |
}, |
| 289 |
"description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 290 |
"license": "MIT", |
| 291 |
"main": "index.js", |
| 292 |
"scripts": { |
| 293 |
"test": "npm run lint && node --harmony --es-staging test.js && npm run security", |
| 294 |
"coverage": "covert test.js", |
| 295 |
"coverage-quiet": "covert test.js --quiet", |
| 296 |
"lint": "npm run jscs && npm run eslint", |
| 297 |
"jscs": "jscs test.js *.js", |
| 298 |
"eslint": "eslint test.js *.js", |
| 299 |
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", |
| 300 |
"security": "nsp package" |
| 301 |
}, |
| 302 |
"repository": { |
| 303 |
"type": "git", |
| 304 |
"url": "git://github.com/ljharb/is-string.git" |
| 305 |
}, |
| 306 |
"keywords": [ |
| 307 |
"String", |
| 308 |
"string", |
| 309 |
"ES6", |
| 310 |
"toStringTag", |
| 311 |
"@@toStringTag", |
| 312 |
"String object" |
| 313 |
], |
| 314 |
"dependencies": {}, |
| 315 |
"devDependencies": { |
| 316 |
"foreach": "~2.0.5", |
| 317 |
"is": "~2.2.0", |
| 318 |
"tape": "~3.4.0", |
| 319 |
"indexof": "~0.0.1", |
| 320 |
"covert": "1.0.0", |
| 321 |
"jscs": "~1.10.0", |
| 322 |
"editorconfig-tools": "~0.0.1", |
| 323 |
"nsp": "~1.0.0", |
| 324 |
"eslint": "~0.13.0", |
| 325 |
"semver": "~4.2.0" |
| 326 |
}, |
| 327 |
"testling": { |
| 328 |
"files": "test.js", |
| 329 |
"browsers": [ |
| 330 |
"iexplore/6.0..latest", |
| 331 |
"firefox/3.0..6.0", |
| 332 |
"firefox/15.0..latest", |
| 333 |
"firefox/nightly", |
| 334 |
"chrome/4.0..10.0", |
| 335 |
"chrome/20.0..latest", |
| 336 |
"chrome/canary", |
| 337 |
"opera/10.0..latest", |
| 338 |
"opera/next", |
| 339 |
"safari/4.0..latest", |
| 340 |
"ipad/6.0..latest", |
| 341 |
"iphone/6.0..latest", |
| 342 |
"android-browser/4.2" |
| 343 |
] |
| 344 |
}, |
| 345 |
"engines": { |
| 346 |
"node": ">= 0.4" |
| 347 |
}, |
| 348 |
"gitHead": "bfc054522e27639dbd279a39bd7302fc859a1fd6", |
| 349 |
"bugs": { |
| 350 |
"url": "https://github.com/ljharb/is-string/issues" |
| 351 |
}, |
| 352 |
"homepage": "https://github.com/ljharb/is-string", |
| 353 |
"_id": "[email protected]", |
| 354 |
"_shasum": "cc3a9b69857d621e963725a24caeec873b826e64", |
| 355 |
"_from": ".", |
| 356 |
"_npmVersion": "2.3.0", |
| 357 |
"_nodeVersion": "1.0.4", |
| 358 |
"_npmUser": { |
| 359 |
"name": "ljharb", |
| 360 |
"email": "[email protected]" |
| 361 |
}, |
| 362 |
"maintainers": [ |
| 363 |
{ |
| 364 |
"name": "ljharb", |
| 365 |
"email": "[email protected]" |
| 366 |
} |
| 367 |
], |
| 368 |
"dist": { |
| 369 |
"shasum": "cc3a9b69857d621e963725a24caeec873b826e64", |
| 370 |
"tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.4.tgz" |
| 371 |
}, |
| 372 |
"directories": {} |
| 373 |
}, |
| 374 |
"1.0.5": { |
| 375 |
"name": "is-string", |
| 376 |
"version": "1.0.5", |
| 377 |
"author": { |
| 378 |
"name": "Jordan Harband", |
| 379 |
"email": "[email protected]" |
| 380 |
}, |
| 381 |
"funding": { |
| 382 |
"url": "https://github.com/sponsors/ljharb" |
| 383 |
}, |
| 384 |
"description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 385 |
"license": "MIT", |
| 386 |
"main": "index.js", |
| 387 |
"scripts": { |
| 388 |
"prepublish": "safe-publish-latest", |
| 389 |
"pretest": "npm run lint", |
| 390 |
"tests-only": "node --harmony --es-staging test", |
| 391 |
"test": "npm run tests-only", |
| 392 |
"posttest": "npx aud", |
| 393 |
"coverage": "covert test/index.js", |
| 394 |
"lint": "eslint .", |
| 395 |
"eccheck": "eclint check *.js **/*.js > /dev/null", |
| 396 |
"version": "auto-changelog && git add CHANGELOG.md", |
| 397 |
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" |
| 398 |
}, |
| 399 |
"repository": { |
| 400 |
"type": "git", |
| 401 |
"url": "git://github.com/ljharb/is-string.git" |
| 402 |
}, |
| 403 |
"keywords": [ |
| 404 |
"String", |
| 405 |
"string", |
| 406 |
"ES6", |
| 407 |
"toStringTag", |
| 408 |
"@@toStringTag", |
| 409 |
"String object" |
| 410 |
], |
| 411 |
"dependencies": {}, |
| 412 |
"devDependencies": { |
| 413 |
"@ljharb/eslint-config": "^15.0.2", |
| 414 |
"auto-changelog": "^1.16.2", |
| 415 |
"covert": "^1.1.1", |
| 416 |
"eclint": "^2.8.1", |
| 417 |
"eslint": "^6.7.2", |
| 418 |
"foreach": "^2.0.5", |
| 419 |
"indexof": "^0.0.1", |
| 420 |
"is": "^3.3.0", |
| 421 |
"safe-publish-latest": "^1.1.4", |
| 422 |
"tape": "^4.12.0" |
| 423 |
}, |
| 424 |
"testling": { |
| 425 |
"files": "test/index.js", |
| 426 |
"browsers": [ |
| 427 |
"iexplore/6.0..latest", |
| 428 |
"firefox/3.0..6.0", |
| 429 |
"firefox/15.0..latest", |
| 430 |
"firefox/nightly", |
| 431 |
"chrome/4.0..10.0", |
| 432 |
"chrome/20.0..latest", |
| 433 |
"chrome/canary", |
| 434 |
"opera/10.0..latest", |
| 435 |
"opera/next", |
| 436 |
"safari/4.0..latest", |
| 437 |
"ipad/6.0..latest", |
| 438 |
"iphone/6.0..latest", |
| 439 |
"android-browser/4.2" |
| 440 |
] |
| 441 |
}, |
| 442 |
"engines": { |
| 443 |
"node": ">= 0.4" |
| 444 |
}, |
| 445 |
"auto-changelog": { |
| 446 |
"output": "CHANGELOG.md", |
| 447 |
"template": "keepachangelog", |
| 448 |
"unreleased": false, |
| 449 |
"commitLimit": false, |
| 450 |
"backfillLimit": false |
| 451 |
}, |
| 452 |
"gitHead": "fdf72b6bf93438b8e7a54345467ab8cf35ef56e2", |
| 453 |
"bugs": { |
| 454 |
"url": "https://github.com/ljharb/is-string/issues" |
| 455 |
}, |
| 456 |
"homepage": "https://github.com/ljharb/is-string#readme", |
| 457 |
"_id": "[email protected]", |
| 458 |
"_nodeVersion": "13.4.0", |
| 459 |
"_npmVersion": "6.13.4", |
| 460 |
"dist": { |
| 461 |
"integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", |
| 462 |
"shasum": "40493ed198ef3ff477b8c7f92f644ec82a5cd3a6", |
| 463 |
"tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", |
| 464 |
"fileCount": 10, |
| 465 |
"unpackedSize": 15748, |
| 466 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+wJlCRA9TVsSAnZWagAAIZwP/RhpzsytVwSHPJO1mmOt\n+oi+W8vddnmeiaw0E9UfMkG+qAx0T+j19ATZi9gTPd/mjQe8tRSnrTGySv22\niWOqzjL7tLHZZDYRgrpVzRQ2aTjN7/bANSdWB8kAJmqFA5BIRWKLBOPJKP9n\nf79dSQJVpy8SYH7XK/Upydu46Mi+18hYXQEz7/a4ICvXweaibyi7cbI8AUnh\nVb9GBmXOHGamHtgmvAVjxMf1ibIt7M0J9Jw3WYveVFr4pnHXkDOIePg6MarM\nVIcqsHXS26CI4oDnvGH5QMziwMecuNie8578bPACitJ78RTo1SLHxKMkYE60\n8o4NnmIzFQMw81JZJan146hMNPhoR42BgJaXhhF8iCYWHO0RNpwK+Lt1p+Sx\nhkfGfWVu5N3KPGo/M61HJEcL9JG/4YfMkYlqOAQu+Ssh25E6Lt71xyYyqyTQ\n+a9+VxQmpCbefPSrQ/BfFdCJTUxmhyLuYZTNXVV1eERf06eoC3YRQQwBL3kD\nQ4muIEgC1yFICJFN9KCRzBZQ88lKLRX6tsexisEVJRyKeCbM/MW+dJK5czKt\nWDkNMxRV54qRJSeq7uQdwf3PIfs3nv5/xRia8flY8FXbLG6lN7Efn+76BdkL\nWogmNGq/yINoV5vch30VEBAKJ1AQiagHIJ476fCYwGjVjFs6usQoqeU1tmce\nL96r\r\n=mp5t\r\n-----END PGP SIGNATURE-----\r\n" |
| 467 |
}, |
| 468 |
"maintainers": [ |
| 469 |
{ |
| 470 |
"email": "[email protected]", |
| 471 |
"name": "ljharb" |
| 472 |
} |
| 473 |
], |
| 474 |
"_npmUser": { |
| 475 |
"name": "ljharb", |
| 476 |
"email": "[email protected]" |
| 477 |
}, |
| 478 |
"directories": {}, |
| 479 |
"_npmOperationalInternal": { |
| 480 |
"host": "s3://npm-registry-packages", |
| 481 |
"tmp": "tmp/is-string_1.0.5_1576731236842_0.1626502503812357" |
| 482 |
}, |
| 483 |
"_hasShrinkwrap": false |
| 484 |
} |
| 485 |
}, |
| 486 |
"readme": "# is-string <sup>[![Version Badge][2]][1]</sup>\n\n[![Build Status][3]][4]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\n[![browser support][9]][10]\n\nIs this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isString = require('is-string');\nvar assert = require('assert');\n\nassert.notOk(isString(undefined));\nassert.notOk(isString(null));\nassert.notOk(isString(false));\nassert.notOk(isString(true));\nassert.notOk(isString(function () {}));\nassert.notOk(isString([]));\nassert.notOk(isString({}));\nassert.notOk(isString(/a/g));\nassert.notOk(isString(new RegExp('a', 'g')));\nassert.notOk(isString(new Date()));\nassert.notOk(isString(42));\nassert.notOk(isString(NaN));\nassert.notOk(isString(Infinity));\nassert.notOk(isString(new Number(42)));\n\nassert.ok(isString('foo'));\nassert.ok(isString(Object('foo')));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-string\n[2]: http://versionbadg.es/ljharb/is-string.svg\n[3]: https://travis-ci.org/ljharb/is-string.svg\n[4]: https://travis-ci.org/ljharb/is-string\n[5]: https://david-dm.org/ljharb/is-string.svg\n[6]: https://david-dm.org/ljharb/is-string\n[7]: https://david-dm.org/ljharb/is-string/dev-status.svg\n[8]: https://david-dm.org/ljharb/is-string#info=devDependencies\n[9]: https://ci.testling.com/ljharb/is-string.png\n[10]: https://ci.testling.com/ljharb/is-string\n[11]: https://nodei.co/npm/is-string.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-string.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-string.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-string\n", |
| 487 |
"maintainers": [ |
| 488 |
{ |
| 489 |
"email": "[email protected]", |
| 490 |
"name": "ljharb" |
| 491 |
} |
| 492 |
], |
| 493 |
"time": { |
| 494 |
"modified": "2019-12-19T04:53:59.302Z", |
| 495 |
"created": "2015-01-29T08:31:52.824Z", |
| 496 |
"1.0.0": "2015-01-29T08:31:52.824Z", |
| 497 |
"1.0.1": "2015-01-29T17:40:10.387Z", |
| 498 |
"1.0.2": "2015-01-29T17:46:47.721Z", |
| 499 |
"1.0.4": "2015-01-30T07:47:09.149Z", |
| 500 |
"1.0.5": "2019-12-19T04:53:57.008Z" |
| 501 |
}, |
| 502 |
"homepage": "https://github.com/ljharb/is-string#readme", |
| 503 |
"keywords": [ |
| 504 |
"String", |
| 505 |
"string", |
| 506 |
"ES6", |
| 507 |
"toStringTag", |
| 508 |
"@@toStringTag", |
| 509 |
"String object" |
| 510 |
], |
| 511 |
"repository": { |
| 512 |
"type": "git", |
| 513 |
"url": "git://github.com/ljharb/is-string.git" |
| 514 |
}, |
| 515 |
"author": { |
| 516 |
"name": "Jordan Harband", |
| 517 |
"email": "[email protected]" |
| 518 |
}, |
| 519 |
"bugs": { |
| 520 |
"url": "https://github.com/ljharb/is-string/issues" |
| 521 |
}, |
| 522 |
"license": "MIT", |
| 523 |
"readmeFilename": "README.md" |
| 524 |
} |