{"name":"safe-to-string-x","version":"2.0.3","description":"DEPRECATED: Moved to https://github.com/Xotic750/to-string-symbols-supported-x","homepage":"https://github.com/Xotic750/safe-to-string-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2015-2017","keywords":["es6","safeToString","module","javascript","nodejs","browser"],"main":"index.js","engines":{"node":"*"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Xotic750/safe-to-string-x.git"},"bugs":{"url":"https://github.com/Xotic750/safe-to-string-x/issues"},"dependencies":{"to-string-symbols-supported-x":"^1.0.0"},"devDependencies":{"@xotic750/eslint-config-standard-x":"^2.2.1","browserify":"^14.4.0","browserify-derequire":"^0.9.4","cross-env":"^5.0.1","es5-shim":"^4.5.9","es6-shim":"^0.35.3","es7-shim":"^6.0.0","eslint":"^4.2.0","eslint-plugin-compat":"^1.0.4","eslint-plugin-css-modules":"^2.7.2","eslint-plugin-eslint-comments":"^1.0.2","eslint-plugin-jsdoc":"^3.1.1","eslint-plugin-json":"^1.2.0","eslint-plugin-no-use-extend-native":"^0.3.12","husky":"^0.13.4","jasmine-node":"^1.14.5","jsdoc-to-markdown":"^3.0.0","json3":"^3.3.2","make-jasmine-spec-runner-html":"^1.3.0","ncp":"^2.0.0","nodemon":"^1.11.0","nsp":"^2.6.3","parallelshell":"^3.0.1","replace-x":"^1.5.0","rimraf":"^2.6.1","serve":"^6.0.2","uglify-js":"^3.0.24"},"scripts":{"clean":"rimraf README.md lib/*","clean:jasmine":"rimraf tests/index.html tests/run.js","clean:all":"npm run clean:jasmine && npm run clean","build":"npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security","build:jasmine":"npm run clean:jasmine && make-jasmine-spec-runner-html","build:setver":"replace-x \" @version .*\" \" @version $(node -p -e \"require('./package.json').version\")\" index.js","build:name":"replace-x \" @module .*\" \" @module $(node -p -e \"require('./package.json').name\")\" index.js","build:description":"replace-x \" @file .*\" \" @file $(node -p -e \"require('./package.json').description\")\" index.js","build:replace":"npm run build:setver && npm run build:name && npm run build:description","production":"npm run clean:all && npm run build:jasmine && npm run build:replace && npm run build","start":"parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"","docs:name":"replace-x \"@{PACKAGE-NAME}\" \"$(node -p -e \"require('./package.json').name\")\" README.md","docs:badges":"ncp badges.html README.md && npm run docs:name","docs":"npm run docs:badges && jsdoc2md --name-format --example-lang js index.js >> README.md","lint":"eslint *.js tests/spec/*.js","lint-fix":"npm run lint -- --fix","security":"nsp check","test":"jasmine-node --matchall tests/spec/","browserify":"browserify -p browserify-derequire -e index.js -o lib/safe-to-string-x.js -u 'crypto' -s returnExports","uglify":"uglifyjs lib/safe-to-string-x.js -o lib/safe-to-string-x.min.js --config-file .uglifyjsrc.json","precommit":"npm run production","prepush":"npm run production"},"gitHead":"1e76cf68dafd08781c59fd3daf772b5af44723ab","_id":"safe-to-string-x@2.0.3","_npmVersion":"5.4.0","_nodeVersion":"6.11.2","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"integrity":"sha512-hbxWZc0a+3VG7SpSKpZbBiXwQOV/bW/hwNvMFRPCL/60Ze/6Y8atHqv/0dWiWc9sHmkFqVCMR5gjmukMzKnA6A==","shasum":"c4c5242c854a6727e3f09df7a62b5b2522545b86","tarball":"http://registry-npm.ywwl.com/safe-to-string-x/download/safe-to-string-x-2.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwrDxKrNymc9gNS64vuzX/ozPLCFpel1TFyYb1HLZ34AiAb6F2AtlM0dYw4CvUs3CrGAQarnokLUJhjxpUb+x5mXA=="}],"size":6881,"noattachment":false,"key":"/safe-to-string-x/-/safe-to-string-x-2.0.3.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/safe-to-string-x-2.0.3.tgz_1506447416429_0.9549866449087858"},"deprecated":"Moved to https://github.com/Xotic750/to-string-symbols-supported-x","directories":{},"readme":"<a href=\"https://travis-ci.org/Xotic750/safe-to-string-x\"\n   title=\"Travis status\">\n<img\n   src=\"https://travis-ci.org/Xotic750/safe-to-string-x.svg?branch=master\"\n   alt=\"Travis status\" height=\"18\"/>\n</a>\n<a href=\"https://david-dm.org/Xotic750/safe-to-string-x\"\n   title=\"Dependency status\">\n<img src=\"https://david-dm.org/Xotic750/safe-to-string-x.svg\"\n   alt=\"Dependency status\" height=\"18\"/>\n</a>\n<a href=\"https://david-dm.org/Xotic750/safe-to-string-x#info=devDependencies\"\n   title=\"devDependency status\">\n<img src=\"https://david-dm.org/Xotic750/safe-to-string-x/dev-status.svg\"\n   alt=\"devDependency status\" height=\"18\"/>\n</a>\n<a href=\"https://badge.fury.io/js/safe-to-string-x\" title=\"npm version\">\n<img src=\"https://badge.fury.io/js/safe-to-string-x.svg\"\n   alt=\"npm version\" height=\"18\"/>\n</a>\n<a name=\"module_safe-to-string-x\"></a>\n\n## safe-to-string-x\nDEPRECATED: Moved to https://github.com/Xotic750/to-string-symbols-supported-x\n\n**See**: [to-string-x](https://github.com/Xotic750/to-string-x)  \n**Version**: 2.0.3  \n**Author**: Xotic750 <Xotic750@gmail.com>  \n**License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)  \n**Copyright**: Xotic750  \n<a name=\"exp_module_safe-to-string-x--module.exports\"></a>\n\n### `module.exports` ⇒ <code>string</code> ⏏\nDEPRECATED: Moved to https://github.com/Xotic750/to-string-symbols-supported-x\nto have a less confusing module name.\n\nThe abstract operation ToString converts argument to a value of type String,\nhowever the specification states that if the argument is a Symbol then a\n'TypeError' is thrown. This version also allows Symbols be converted to\na string. Other uncoercible exotics will still throw though.\n\n**Kind**: Exported member  \n**Returns**: <code>string</code> - The converted value.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| value | <code>\\*</code> | The value to convert to a string. |\n\n**Example**  \n```js\nvar safeToString = require('safe-to-string-x');\n\nsafeToString(); // 'undefined'\nsafeToString(null); // 'null'\nsafeToString('abc'); // 'abc'\nsafeToString(true); // 'true'\nsafeToString(Symbol('foo')); // 'Symbol(foo)'\nsafeToString(Symbol.iterator); // 'Symbol(Symbol.iterator)'\nsafeToString(Object(Symbol.iterator)); // 'Symbol(Symbol.iterator)'\nsafeToString(Object.create(null)); // TypeError\n```\n","publish_time":1506447417353,"_cnpm_publish_time":1506447417353,"dist-tags":{"latest":"2.0.3"}}