{"name":"safe-to-string-x","version":"1.0.0","description":"ES6 safeToString module.","homepage":"https://github.com/Xotic750/safe-to-string-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2015","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":{"es-abstract":"^1.4.3","is-symbol":"^1.0.1"},"devDependencies":{"es5-shim":"^4.3.1","jscs":"^2.5.1","uglify-js":"^2.6.1","browserify":"12.0.1","jasmine-node":"^1.14.5","jsdoc-to-markdown":"^1.2.1"},"scripts":{"test":"jasmine-node --matchall tests/spec/","style":"jscs index.js","docs":"jsdoc2md --name-format code --example-lang js table index.js > README.md","build":"browserify -e index.js -o lib/safe-to-string-x.js -u 'crypto' -s returnExports","build-uglify":"uglifyjs lib/safe-to-string-x.js -o lib/safe-to-string-x.min.js --compress unused=false,dead_code=false --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map lib/safe-to-string-x.map"},"gitHead":"9501726011fe517d3a19cf17ca877cca49a03749","_id":"safe-to-string-x@1.0.0","_shasum":"42f073d547af99b625108a248f0f3cfb78eaf0a6","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"dist":{"shasum":"42f073d547af99b625108a248f0f3cfb78eaf0a6","tarball":"http://registry-npm.ywwl.com/safe-to-string-x/download/safe-to-string-x-1.0.0.tgz","integrity":"sha512-CjTMqRM/OaPU4KBRpAlYq1ZpPyQWUcT4Lzpmi5/Kgy2l36oOs9EH/xdbZ40F/1xwJRZwfBTe6sWngSlzHVAaNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDo4vAP7PTLDNayVp5ehJkv9gKIdPKCg3qqMlYxtvpEdwIgXtd1v1hPzqPdTQ8weDshI7hwjDq6/sjaG7FBMwgCz0M="}],"size":17237,"noattachment":false,"key":"/safe-to-string-x/-/safe-to-string-x-1.0.0.tgz"},"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":1448923148520,"_cnpm_publish_time":1448923148520,"dist-tags":{"latest":"2.0.3"}}