{"_id":"to-str","_rev":"4-fa757eface25769e6a69b1837c7f9a34","name":"to-str","description":"Converts the given value to a string.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"to-str","version":"0.0.0","description":"Converts the given value to a string.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/to-str.git"},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com","url":"https://github.com/bubkoo"},"license":"MIT","bugs":{"url":"https://github.com/bubkoo/to-str/issues"},"homepage":"https://github.com/bubkoo/to-str#readme","gitHead":"14dc16f2a6d35c8d0f711ea95c557e13d48a47ba","_id":"to-str@0.0.0","_shasum":"d6e587479b17c69f3ec233873b065a7c794ebdf0","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"d6e587479b17c69f3ec233873b065a7c794ebdf0","tarball":"https://registry.npmjs.org/to-str/-/to-str-0.0.0.tgz","integrity":"sha512-DpyaZuqSpeFfs6FZhVpEgpQRk1n/Mj4KaczIU2v7q3I8al6Dz8VtV/rMatrLDwOWrJ5uv5RPiO9k1yKSjUT5HQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDAuxfP+JCjes+LkdHMUq5wG4x2zk729jT5RCiX7yKhAiAbVnLEMuCQID84cN2rMYSavem9d+Lrn4fWbRs3GILCrA=="}]},"maintainers":[{"name":"bubkoo","email":"bubkoo.wy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/to-str-0.0.0.tgz_1460537908555_0.952999914996326"}},"1.0.0":{"name":"to-str","version":"1.0.0","description":"Converts the given value to a string.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["to","parse","convert","converter","parser","string","str"],"repository":{"type":"git","url":"git+https://github.com/bubkoo/to-str.git"},"license":"MIT","bugs":{"url":"https://github.com/bubkoo/to-str/issues"},"homepage":"https://github.com/bubkoo/to-str#readme","devDependencies":{"jshint":"^2.9.1","chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","mocha":"^2.4.5"},"dependencies":{"is-function":"^1.0.1","is-nil":"^1.0.0","is-object":"^1.0.1","is-symbol":"^1.0.1"},"gitHead":"ad6980c51e4b7e7e0166ba2b0f3cf9fee886db8b","_id":"to-str@1.0.0","_shasum":"9034248f56f439804c1fd45a3cbe8195ecb608f1","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"9034248f56f439804c1fd45a3cbe8195ecb608f1","tarball":"https://registry.npmjs.org/to-str/-/to-str-1.0.0.tgz","integrity":"sha512-UETUWfNiPKGvdZ2nAmiTTmv583SivKIHB10J0qQQgfkWvSQXKtPeF+On7pejMaD2rqTIFWgXz25dPyzABAgIHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID5sKmmQAOz7EkRczPErctwG3diKGdfJuuLwQKUygHBUAiAKhqhxGMCiv6+XpyIJoz7imvyqRYu1pGZes3seqI8seQ=="}]},"maintainers":[{"name":"bubkoo","email":"bubkoo.wy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/to-str-1.0.0.tgz_1460540631419_0.16416764841414988"}}},"readme":"# to-str\n\n> Converts the given value to a string.\n\n\n\n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/bubkoo/to-str/blob/master/LICENSE)\n\n[![build:?](https://img.shields.io/travis/bubkoo/to-str/master.svg?style=flat-square)](https://travis-ci.org/bubkoo/to-str)\n[![coverage:?](https://img.shields.io/coveralls/bubkoo/to-str/master.svg?style=flat-square)](https://coveralls.io/github/bubkoo/to-str)\n\n\n## Install\n\n```\n$ npm install --save to-str \n```\n\n\n## Usage\n\n> For more use-cases see the [tests](https://github.com/bubkoo/to-str/blob/master/test/spec/index.js)\n\n```js\nvar toString = require('to-str');\n\ntoString();          // => ''\ntoString(null);      // => ''\ntoString(0);         // => '0'\ntoString(-0);        // => '-0'\ntoString('abc');     // => 'abc'\ntoString('-1.100');  // => -1\ntoString([1, 2, 3]); // => '1,2,3'\n\ntoString({ foo: 'bar' });        \n// => '[object Object]'\n\ntoString(function () { console.log(123); });\n// => 'function () { console.log(123); }'\n```\n\n## Related\n\n- [to-num](https://github.com/bubkoo/to-num) - Converts the given value to a number.\n- [to-integer](https://github.com/bubkoo/to-integer) - Converts the given value to an integer.\n- [to-length](https://github.com/bubkoo/to-length) - Converts value to an integer suitable for use as the length of an array-like object.\n- [to-lower](https://github.com/bubkoo/to-lower) - Converts string, as a whole, to lower case.\n- [to-upper](https://github.com/bubkoo/to-upper) - Converts string, as a whole, to upper case.\n- [to-path](https://github.com/bubkoo/to-path) - Converts value to a property path array. \n- [to-source-code](https://github.com/bubkoo/to-source-code.git) - Converts function to its source code.\n\n\n## Contributing\n\nPull requests and stars are highly welcome.\n\nFor bugs and feature requests, please [create an issue](https://github.com/bubkoo/to-str/issues/new).\n","maintainers":[{"name":"bubkoo","email":"bubkoo.wy@gmail.com"}],"time":{"modified":"2022-06-27T07:25:04.311Z","created":"2016-04-13T08:58:31.406Z","0.0.0":"2016-04-13T08:58:31.406Z","1.0.0":"2016-04-13T09:43:54.366Z"},"homepage":"https://github.com/bubkoo/to-str#readme","repository":{"type":"git","url":"git+https://github.com/bubkoo/to-str.git"},"bugs":{"url":"https://github.com/bubkoo/to-str/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["to","parse","convert","converter","parser","string","str"]}