{ "_id": "is-string", "_rev": "11-b41d7afc1f65205f051a0e6d1487e462", "name": "is-string", "description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", "dist-tags": { "latest": "1.0.5" }, "versions": { "1.0.0": { "name": "is-string", "version": "1.0.0", "author": { "name": "Jordan Harband" }, "description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", "license": "MIT", "main": "index.js", "scripts": { "test": "npm run lint && node --harmony --es-staging test.js && npm run security", "coverage": "covert test.js", "coverage-quiet": "covert test.js --quiet", "lint": "npm run jscs && npm run eslint", "jscs": "jscs test.js *.js", "eslint": "eslint test.js *.js", "eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", "security": "nsp package" }, "repository": { "type": "git", "url": "git://github.com/ljharb/is-string.git" }, "keywords": [ "String", "string", "ES6", "toStringTag", "@@toStringTag", "String object" ], "dependencies": {}, "devDependencies": { "foreach": "~2.0.5", "is": "~2.2.0", "tape": "~3.4.0", "indexof": "~0.0.1", "covert": "1.0.0", "jscs": "~1.10.0", "editorconfig-tools": "~0.0.1", "nsp": "~1.0.0", "eslint": "~0.13.0", "semver": "~4.2.0" }, "testling": { "files": "test.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "engines": { "node": ">= 0.4" }, "gitHead": "b85f8e81b1b00643d732a91a28df2556b9019c0f", "bugs": { "url": "https://github.com/ljharb/is-string/issues" }, "homepage": "https://github.com/ljharb/is-string", "_id": "is-string@1.0.0", "_shasum": "7f13aa94f67b7ed5c6c6884efd40192bf8b4a6c1", "_from": ".", "_npmVersion": "2.3.0", "_nodeVersion": "1.0.4", "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "dist": { "shasum": "7f13aa94f67b7ed5c6c6884efd40192bf8b4a6c1", "tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.0.tgz" }, "directories": {} }, "1.0.1": { "name": "is-string", "version": "1.0.1", "author": { "name": "Jordan Harband" }, "description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", "license": "MIT", "main": "index.js", "scripts": { "test": "npm run lint && node --harmony --es-staging test.js && npm run security", "coverage": "covert test.js", "coverage-quiet": "covert test.js --quiet", "lint": "npm run jscs && npm run eslint", "jscs": "jscs test.js *.js", "eslint": "eslint test.js *.js", "eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", "security": "nsp package" }, "repository": { "type": "git", "url": "git://github.com/ljharb/is-string.git" }, "keywords": [ "String", "string", "ES6", "toStringTag", "@@toStringTag", "String object" ], "dependencies": {}, "devDependencies": { "foreach": "~2.0.5", "is": "~2.2.0", "tape": "~3.4.0", "indexof": "~0.0.1", "covert": "1.0.1", "jscs": "~1.10.0", "editorconfig-tools": "~0.0.1", "nsp": "~1.0.1", "eslint": "~0.13.0", "semver": "~4.2.0" }, "testling": { "files": "test.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "engines": { "node": ">= 0.4" }, "gitHead": "cdcb9ff46f78715e8aea501520931a364b55cb38", "bugs": { "url": "https://github.com/ljharb/is-string/issues" }, "homepage": "https://github.com/ljharb/is-string", "_id": "is-string@1.0.1", "_shasum": "8fb31696250ff0cde959a1c77a46fc2ff04e1d29", "_from": ".", "_npmVersion": "2.3.0", "_nodeVersion": "1.0.4", "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "dist": { "shasum": "8fb31696250ff0cde959a1c77a46fc2ff04e1d29", "tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.1.tgz" }, "directories": {} }, "1.0.2": { "name": "is-string", "version": "1.0.2", "author": { "name": "Jordan Harband" }, "description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", "license": "MIT", "main": "index.js", "scripts": { "test": "npm run lint && node --harmony --es-staging test.js && npm run security", "coverage": "covert test.js", "coverage-quiet": "covert test.js --quiet", "lint": "npm run jscs && npm run eslint", "jscs": "jscs test.js *.js", "eslint": "eslint test.js *.js", "eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", "security": "nsp package" }, "repository": { "type": "git", "url": "git://github.com/ljharb/is-string.git" }, "keywords": [ "String", "string", "ES6", "toStringTag", "@@toStringTag", "String object" ], "dependencies": {}, "devDependencies": { "foreach": "~2.0.5", "is": "~2.2.0", "tape": "~3.4.0", "indexof": "~0.0.1", "covert": "1.0.0", "jscs": "~1.10.0", "editorconfig-tools": "~0.0.1", "nsp": "~1.0.0", "eslint": "~0.13.0", "semver": "~4.2.0" }, "testling": { "files": "test.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "engines": { "node": ">= 0.4" }, "gitHead": "9e147ee789890b3a9c5eb5270d300ae0fc9584a7", "bugs": { "url": "https://github.com/ljharb/is-string/issues" }, "homepage": "https://github.com/ljharb/is-string", "_id": "is-string@1.0.2", "_shasum": "24ed6b08eb6b37d1192d0b24d7c9f0097f8f8b41", "_from": ".", "_npmVersion": "2.3.0", "_nodeVersion": "1.0.4", "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "dist": { "shasum": "24ed6b08eb6b37d1192d0b24d7c9f0097f8f8b41", "tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.2.tgz" }, "directories": {} }, "1.0.4": { "name": "is-string", "version": "1.0.4", "author": { "name": "Jordan Harband" }, "description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", "license": "MIT", "main": "index.js", "scripts": { "test": "npm run lint && node --harmony --es-staging test.js && npm run security", "coverage": "covert test.js", "coverage-quiet": "covert test.js --quiet", "lint": "npm run jscs && npm run eslint", "jscs": "jscs test.js *.js", "eslint": "eslint test.js *.js", "eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", "security": "nsp package" }, "repository": { "type": "git", "url": "git://github.com/ljharb/is-string.git" }, "keywords": [ "String", "string", "ES6", "toStringTag", "@@toStringTag", "String object" ], "dependencies": {}, "devDependencies": { "foreach": "~2.0.5", "is": "~2.2.0", "tape": "~3.4.0", "indexof": "~0.0.1", "covert": "1.0.0", "jscs": "~1.10.0", "editorconfig-tools": "~0.0.1", "nsp": "~1.0.0", "eslint": "~0.13.0", "semver": "~4.2.0" }, "testling": { "files": "test.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "engines": { "node": ">= 0.4" }, "gitHead": "bfc054522e27639dbd279a39bd7302fc859a1fd6", "bugs": { "url": "https://github.com/ljharb/is-string/issues" }, "homepage": "https://github.com/ljharb/is-string", "_id": "is-string@1.0.4", "_shasum": "cc3a9b69857d621e963725a24caeec873b826e64", "_from": ".", "_npmVersion": "2.3.0", "_nodeVersion": "1.0.4", "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "dist": { "shasum": "cc3a9b69857d621e963725a24caeec873b826e64", "tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.4.tgz" }, "directories": {} }, "1.0.5": { "name": "is-string", "version": "1.0.5", "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com" }, "funding": { "url": "https://github.com/sponsors/ljharb" }, "description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", "license": "MIT", "main": "index.js", "scripts": { "prepublish": "safe-publish-latest", "pretest": "npm run lint", "tests-only": "node --harmony --es-staging test", "test": "npm run tests-only", "posttest": "npx aud", "coverage": "covert test/index.js", "lint": "eslint .", "eccheck": "eclint check *.js **/*.js > /dev/null", "version": "auto-changelog && git add CHANGELOG.md", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" }, "repository": { "type": "git", "url": "git://github.com/ljharb/is-string.git" }, "keywords": [ "String", "string", "ES6", "toStringTag", "@@toStringTag", "String object" ], "dependencies": {}, "devDependencies": { "@ljharb/eslint-config": "^15.0.2", "auto-changelog": "^1.16.2", "covert": "^1.1.1", "eclint": "^2.8.1", "eslint": "^6.7.2", "foreach": "^2.0.5", "indexof": "^0.0.1", "is": "^3.3.0", "safe-publish-latest": "^1.1.4", "tape": "^4.12.0" }, "testling": { "files": "test/index.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "engines": { "node": ">= 0.4" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false }, "gitHead": "fdf72b6bf93438b8e7a54345467ab8cf35ef56e2", "bugs": { "url": "https://github.com/ljharb/is-string/issues" }, "homepage": "https://github.com/ljharb/is-string#readme", "_id": "is-string@1.0.5", "_nodeVersion": "13.4.0", "_npmVersion": "6.13.4", "dist": { "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", "shasum": "40493ed198ef3ff477b8c7f92f644ec82a5cd3a6", "tarball": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", "fileCount": 10, "unpackedSize": 15748, "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" }, "maintainers": [ { "email": "ljharb@gmail.com", "name": "ljharb" } ], "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-string_1.0.5_1576731236842_0.1626502503812357" }, "_hasShrinkwrap": false } }, "readme": "# is-string [![Version Badge][2]][1]\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", "maintainers": [ { "email": "ljharb@gmail.com", "name": "ljharb" } ], "time": { "modified": "2019-12-19T04:53:59.302Z", "created": "2015-01-29T08:31:52.824Z", "1.0.0": "2015-01-29T08:31:52.824Z", "1.0.1": "2015-01-29T17:40:10.387Z", "1.0.2": "2015-01-29T17:46:47.721Z", "1.0.4": "2015-01-30T07:47:09.149Z", "1.0.5": "2019-12-19T04:53:57.008Z" }, "homepage": "https://github.com/ljharb/is-string#readme", "keywords": [ "String", "string", "ES6", "toStringTag", "@@toStringTag", "String object" ], "repository": { "type": "git", "url": "git://github.com/ljharb/is-string.git" }, "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com" }, "bugs": { "url": "https://github.com/ljharb/is-string/issues" }, "license": "MIT", "readmeFilename": "README.md" }