{"_id":"is-primitive-x","_rev":"55062","name":"is-primitive-x","description":"Returns true if the value is a primitive.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"time":{"modified":"2021-06-03T10:16:45.000Z","created":"2019-08-15T18:22:11.575Z","1.0.1":"2019-08-28T16:32:29.035Z","1.0.0":"2019-08-15T18:22:11.575Z"},"users":{},"author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Xotic750/is-primitive-x.git"},"versions":{"1.0.1":{"name":"is-primitive-x","version":"1.0.1","description":"Returns true if the value is a primitive.","homepage":"https://github.com/Xotic750/is-primitive-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2019-present","keywords":["isPrimitive","module","javascript","nodejs","browser"],"module":"dist/is-primitive-x.esm.js","main":"dist/is-primitive-x.js","jsdelivr":"dist/is-primitive-x.min.js","scripts":{"build:esm":"mkdirp dist && babel -s true --env-name esm src/is-primitive-x.js -o dist/is-primitive-x.esm.js","build:base":"webpack --bail --progress --profile --colors","build":"npm run build:esm && cross-env NODE_ENV=production npm run build:base --","build:dev":"npm run build:base --","clean":"rimraf dist && npm run clean:coverage","clean:coverage":"rimraf __tests__/coverage","lint":"eslint -f 'node_modules/eslint-friendly-formatter' --ext .js,.json .","lint-fix":"npm run lint -- --fix","report":"npm run build -- --env.report","report:dev":"npm run build:dev -- --env.report","security":"npm audit","security-fix":"npm run security -- fix","start":"nodemon --exec \"npm run build\" --watch src","test":"npm run clean:coverage && jest","test:ci":"npm run test -- --ci --maxWorkers=2","test:ci-coveralls":"npm run test:ci -- --coverage --coverageReporters=text-lcov | coveralls","test:coverage":"npm run test -- --coverage"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Xotic750/is-primitive-x.git"},"bugs":{"url":"https://github.com/Xotic750/is-primitive-x/issues"},"dependencies":{},"devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/plugin-transform-property-mutators":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.5","@babel/preset-env":"^7.5.5","@babel/runtime":"^7.5.5","@types/jest":"^24.0.18","@types/node":"^12.7.2","@types/webpack":"^4.39.1","@xotic750/eslint-config-recommended":"^1.1.8","babel-core":"^7.0.0-0","babel-eslint":"^10.0.3","babel-loader":"^8.0.6","babel-plugin-lodash":"^3.3.4","caniuse-lite":"^1.0.30000989","coveralls":"^3.0.6","cross-env":"^5.2.0","eslint":"^6.2.2","eslint-friendly-formatter":"^4.0.1","eslint-import-resolver-webpack":"^0.11.1","eslint-loader":"^3.0.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-compat":"^3.3.0","eslint-plugin-css-modules":"^2.11.0","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.18.2","eslint-plugin-jest":"^22.15.2","eslint-plugin-jsdoc":"^15.8.3","eslint-plugin-json":"^1.4.0","eslint-plugin-lodash":"^6.0.0","eslint-plugin-no-use-extend-native":"^0.4.1","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-prettier":"^3.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-sort-class-members":"^1.6.0","eslint-plugin-switch-case":"^1.1.2","jest":"^24.9.0","jest-cli":"^24.9.0","jest-file":"^1.0.0","lodash":"^4.17.15","lodash-webpack-plugin":"^0.11.5","mkdirp":"^0.5.1","nodemon":"^1.19.1","prettier":"^1.18.2","rimraf":"^3.0.0","source-map-loader":"^0.2.4","strip-ansi":"^5.2.0","terser-webpack-plugin":"^1.4.1","typescript":"^3.5.3","webpack":"^4.39.3","webpack-bundle-analyzer":"^3.4.1","webpack-cli":"^3.3.7","webpack-global-object-x":"^1.0.0","webpack-merge":"^4.2.2"},"engines":{"node":">=8.11.4","npm":"6.10.1"},"browserslist":["> 1%","Explorer >= 9"],"gitHead":"905141ec0c2829cffe035223fa012efd15fd42bc","_id":"is-primitive-x@1.0.1","_npmVersion":"5.10.0","_nodeVersion":"8.11.4","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"shasum":"0e9b8e4f1bd1ef39d8ad2cc78dbab291b4e7380a","size":7645,"noattachment":false,"key":"/is-primitive-x/-/is-primitive-x-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-primitive-x/download/is-primitive-x-1.0.1.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-primitive-x_1.0.1_1567009948934_0.7516381108952679"},"_hasShrinkwrap":false,"publish_time":1567009949035,"_cnpm_publish_time":1567009949035},"1.0.0":{"name":"is-primitive-x","version":"1.0.0","description":"Returns true if the value is a primitive.","homepage":"https://github.com/Xotic750/is-primitive-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2019-present","keywords":["isPrimitive","module","javascript","nodejs","browser"],"module":"dist/is-primitive-x.esm.js","main":"dist/is-primitive-x.js","jsdelivr":"dist/is-primitive-x.min.js","scripts":{"build:esm":"mkdirp dist && babel -s true --env-name esm src/is-primitive-x.js -o dist/is-primitive-x.esm.js","build:base":"webpack --bail --progress --profile --colors","build":"npm run build:esm && cross-env NODE_ENV=production npm run build:base --","build:dev":"npm run build:base --","clean":"rimraf dist && npm run clean:coverage","clean:coverage":"rimraf __tests__/coverage","lint":"eslint -f 'node_modules/eslint-friendly-formatter' --ext .js,.json .","lint-fix":"npm run lint -- --fix","report":"npm run build -- --env.report","report:dev":"npm run build:dev -- --env.report","security":"npm audit","security-fix":"npm run security -- fix","start":"nodemon --exec \"npm run build\" --watch src","test":"npm run clean:coverage && jest","test:ci":"npm run test -- --ci --maxWorkers=2","test:ci-coveralls":"npm run test:ci -- --coverage --coverageReporters=text-lcov | coveralls","test:coverage":"npm run test -- --coverage"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Xotic750/is-primitive-x.git"},"bugs":{"url":"https://github.com/Xotic750/is-primitive-x/issues"},"dependencies":{},"devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/plugin-transform-property-mutators":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.5","@babel/preset-env":"^7.5.5","@babel/runtime":"^7.5.5","@types/jest":"^24.0.17","@types/node":"^12.7.2","@types/webpack":"^4.32.1","@xotic750/eslint-config-recommended":"^1.1.2","babel-core":"^7.0.0-0","babel-eslint":"^10.0.2","babel-loader":"^8.0.6","babel-plugin-lodash":"^3.3.4","caniuse-lite":"^1.0.30000989","coveralls":"^3.0.6","cross-env":"^5.2.0","eslint":"^6.1.0","eslint-friendly-formatter":"^4.0.1","eslint-import-resolver-webpack":"^0.11.1","eslint-loader":"^2.2.1","eslint-plugin-babel":"^5.3.0","eslint-plugin-compat":"^3.3.0","eslint-plugin-css-modules":"^2.11.0","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.18.2","eslint-plugin-jest":"^22.15.1","eslint-plugin-jsdoc":"^15.8.0","eslint-plugin-json":"^1.4.0","eslint-plugin-lodash":"^6.0.0","eslint-plugin-no-use-extend-native":"^0.4.1","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-prettier":"^3.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-sort-class-members":"^1.5.0","eslint-plugin-switch-case":"^1.1.2","jest":"^24.8.0","jest-cli":"^24.8.0","jest-file":"^1.0.0","lodash":"^4.17.15","lodash-webpack-plugin":"^0.11.5","mkdirp":"^0.5.1","nodemon":"^1.19.1","prettier":"^1.18.2","rimraf":"^3.0.0","source-map-loader":"^0.2.4","strip-ansi":"^5.2.0","terser-webpack-plugin":"^1.4.1","typescript":"^3.5.3","webpack":"^4.39.2","webpack-bundle-analyzer":"^3.4.1","webpack-cli":"^3.3.6","webpack-global-object-x":"^1.0.0","webpack-merge":"^4.2.1"},"engines":{"node":">=8.11.4","npm":"6.10.1"},"browserslist":["> 1%","Explorer >= 9"],"gitHead":"cade54c06d61fac1b83240603f65fa84059cfe60","_id":"is-primitive-x@1.0.0","_nodeVersion":"8.11.4","_npmVersion":"6.10.1","dist":{"shasum":"a822f3d575731d0121a9a0b71a979de4bad9a290","size":7653,"noattachment":false,"key":"/is-primitive-x/-/is-primitive-x-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-primitive-x/download/is-primitive-x-1.0.0.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-primitive-x_1.0.0_1565893331415_0.20537336205297518"},"_hasShrinkwrap":false,"publish_time":1565893331575,"_cnpm_publish_time":1565893331575}},"readme":"<a\n  href=\"https://travis-ci.org/Xotic750/is-primitive-x\"\n  title=\"Travis status\">\n<img\n  src=\"https://travis-ci.org/Xotic750/is-primitive-x.svg?branch=master\"\n  alt=\"Travis status\" height=\"18\">\n</a>\n<a\n  href=\"https://david-dm.org/Xotic750/is-primitive-x\"\n  title=\"Dependency status\">\n<img src=\"https://david-dm.org/Xotic750/is-primitive-x/status.svg\"\n  alt=\"Dependency status\" height=\"18\"/>\n</a>\n<a\n  href=\"https://david-dm.org/Xotic750/is-primitive-x?type=dev\"\n  title=\"devDependency status\">\n<img src=\"https://david-dm.org/Xotic750/is-primitive-x/dev-status.svg\"\n  alt=\"devDependency status\" height=\"18\"/>\n</a>\n<a\n  href=\"https://badge.fury.io/js/is-primitive-x\"\n  title=\"npm version\">\n<img src=\"https://badge.fury.io/js/is-primitive-x.svg\"\n  alt=\"npm version\" height=\"18\">\n</a>\n<a\n  href=\"https://www.jsdelivr.com/package/npm/is-primitive-x\"\n  title=\"jsDelivr hits\">\n<img src=\"https://data.jsdelivr.com/v1/package/npm/is-primitive-x/badge?style=rounded\"\n  alt=\"jsDelivr hits\" height=\"18\">\n</a>\n<a\n  href=\"https://bettercodehub.com/results/Xotic750/is-primitive-x\"\n  title=\"bettercodehub score\">\n<img src=\"https://bettercodehub.com/edge/badge/Xotic750/is-primitive-x?branch=master\"\n  alt=\"bettercodehub score\" height=\"18\">\n</a>\n<a\n  href=\"https://coveralls.io/github/Xotic750/is-primitive-x?branch=master\"\n  title=\"Coverage Status\">\n<img src=\"https://coveralls.io/repos/github/Xotic750/is-primitive-x/badge.svg?branch=master\"\n  alt=\"Coverage Status\" height=\"18\">\n</a>\n\n<a name=\"module_is-primitive-x\"></a>\n\n## is-primitive-x\n\nReturns true if the value is a primitive.\n\n<a name=\"exp_module_is-primitive-x--module.exports\"></a>\n\n### `module.exports` ⇒ <code>\\*</code> ⏏\n\nReturns true if the value is a primitive.\n\n**Kind**: Exported member  \n**Returns**: <code>\\*</code> - The value to test.\n\n| Param | Type            | Description        |\n| ----- | --------------- | ------------------ |\n| [val] | <code>\\*</code> | The value to test. |\n\n**Example**\n\n```js\nimport isPrimitive from 'is-primitive-x';\n\nconsole.log(isPrimitive()); // true\nconsole.log(isPrimitive(42)); // true\nconsole.log(isPrimitive('abc')); // true\nconsole.log(isPrimitive(Symbol())); // true\n\nconsole.log(isPrimitive({})); // false\nconsole.log(isPrimitive([])); // false\nconsole.log(isPrimitive(function() {})); // false\nconsole.log(isPrimitive(new Date())); // false\n```\n","_attachments":{},"homepage":"https://github.com/Xotic750/is-primitive-x","bugs":{"url":"https://github.com/Xotic750/is-primitive-x/issues"},"license":"MIT"}