{"_id":"quote","_rev":"102017","name":"quote","description":"Add quotes to given string unless it already has them","dist-tags":{"latest":"0.4.0"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"time":{"modified":"2021-06-03T10:35:46.000Z","created":"2014-09-28T22:01:02.594Z","0.4.0":"2015-02-09T16:20:30.285Z","0.3.0":"2015-01-21T19:30:06.024Z","0.2.2":"2014-12-06T23:17:48.881Z","0.2.1":"2014-09-28T22:53:18.745Z","0.2.0":"2014-09-28T22:52:10.435Z","0.1.1":"2014-09-28T22:02:38.819Z","0.1.0":"2014-09-28T22:01:02.594Z"},"users":{},"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"repository":{"type":"git","url":"git@github.com:bahmutov/quote.git"},"versions":{"0.4.0":{"name":"quote","version":"0.4.0","description":"Add quotes to given string unless it already has them","main":"quote.js","scripts":{"build":"node node_modules/umd/bin/cli.js -c quote index.js quote.js","test":"node node_modules/gt test/test.js","test-index":"node node_modules/clean-console/index.js -i test/index.html"},"repository":{"type":"git","url":"git@github.com:bahmutov/quote.git"},"keywords":["string","quote","quotes","single","double"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/quote/issues"},"homepage":"https://github.com/bahmutov/quote","devDependencies":{"clean-console":"0.2.2","console-log-div":"0.0.5","es5-shim":"4.0.5","gt":"0.8.47","pre-git":"0.1.1","umd":"2.1.0"},"pre-commit":["npm run build","npm test","npm version"],"gitHead":"48c81a743a6819e24596c28bbd87764e920dd388","_id":"quote@0.4.0","_shasum":"10839217f6c1362b89194044d29b233fd7f32f01","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.10","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"10839217f6c1362b89194044d29b233fd7f32f01","size":3238,"noattachment":false,"key":"/quote/-/quote-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quote/download/quote-0.4.0.tgz"},"directories":{},"publish_time":1423498830285,"_cnpm_publish_time":1423498830285,"_hasShrinkwrap":false},"0.3.0":{"name":"quote","version":"0.3.0","description":"Add quotes to given string unless it already has them","main":"quote.js","scripts":{"build":"node node_modules/umd/bin/cli.js -c quote index.js quote.js","test":"node node_modules/gt test/test.js","test-index":"node node_modules/clean-console/index.js -i test/index.html"},"repository":{"type":"git","url":"git@github.com:bahmutov/quote.git"},"keywords":["string","quote","quotes","single","double"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/quote/issues"},"homepage":"https://github.com/bahmutov/quote","devDependencies":{"clean-console":"0.2.2","console-log-div":"0.0.5","es5-shim":"4.0.5","gt":"0.8.47","pre-git":"0.1.1","umd":"2.1.0"},"pre-commit":["npm run build","npm test"],"gitHead":"1a56ab0436a69d67f5ecc3eb27c4fedce863c933","_id":"quote@0.3.0","_shasum":"cf11d813215cdfe7fff70f3f0a60908970bd3a9e","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.10","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"cf11d813215cdfe7fff70f3f0a60908970bd3a9e","size":3035,"noattachment":false,"key":"/quote/-/quote-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quote/download/quote-0.3.0.tgz"},"directories":{},"publish_time":1421868606024,"_cnpm_publish_time":1421868606024,"_hasShrinkwrap":false},"0.2.2":{"name":"quote","version":"0.2.2","description":"Add quotes to given string unless it already has them","main":"index.js","scripts":{"test":"node node_modules/gt test/test.js"},"repository":{"type":"git","url":"git@github.com:bahmutov/quote.git"},"keywords":["string","quote","quotes","single","double"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/quote/issues"},"homepage":"https://github.com/bahmutov/quote","devDependencies":{"gt":"0.8.44","pre-git":"0.1.1"},"pre-commit":"npm test","_id":"quote@0.2.2","_shasum":"3f8c03949b2dd2a3d3ad7b5ad1a11115df27e9d0","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"3f8c03949b2dd2a3d3ad7b5ad1a11115df27e9d0","size":2372,"noattachment":false,"key":"/quote/-/quote-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/quote/download/quote-0.2.2.tgz"},"directories":{},"publish_time":1417907868881,"_cnpm_publish_time":1417907868881,"_hasShrinkwrap":false},"0.2.1":{"name":"quote","version":"0.2.1","description":"Add quotes to given string unless it already has them","main":"index.js","scripts":{"test":"node node_modules/gt test/test.js"},"repository":{"type":"git","url":"git@github.com:bahmutov/quote.git"},"keywords":["string","quote","quotes","single","double"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/quote/issues"},"homepage":"https://github.com/bahmutov/quote","devDependencies":{"gt":"0.8.41","pre-git":"0.1.0"},"pre-commit":"npm test","gitHead":"604c96afeaaa8bbc796348a526b50758a3114192","_id":"quote@0.2.1","_shasum":"5fc48c10b84cd86e6856f85373c92f00d97d39e3","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"5fc48c10b84cd86e6856f85373c92f00d97d39e3","size":2367,"noattachment":false,"key":"/quote/-/quote-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/quote/download/quote-0.2.1.tgz"},"directories":{},"publish_time":1411944798745,"_cnpm_publish_time":1411944798745,"_hasShrinkwrap":false},"0.2.0":{"name":"quote","version":"0.2.0","description":"Add quotes to given string unless it already has them","main":"index.js","scripts":{"test":"node node_modules/gt test/test.js"},"repository":{"type":"git","url":"git@github.com:bahmutov/quote.git"},"keywords":["string","quote","quotes","single","double"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/quote/issues"},"homepage":"https://github.com/bahmutov/quote","devDependencies":{"gt":"0.8.41","pre-git":"0.1.0"},"pre-commit":"npm test","gitHead":"4ce423c090ba46567de90aa2cd0a3a9b704d8b0b","_id":"quote@0.2.0","_shasum":"be85acc193e1290a84281cdcfa51879652c7e9df","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"be85acc193e1290a84281cdcfa51879652c7e9df","size":2389,"noattachment":false,"key":"/quote/-/quote-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quote/download/quote-0.2.0.tgz"},"directories":{},"publish_time":1411944730435,"_cnpm_publish_time":1411944730435,"_hasShrinkwrap":false},"0.1.1":{"name":"quote","version":"0.1.1","description":"Add quotes to given string unless it already has them","main":"index.js","scripts":{"test":"node node_modules/gt test/test.js"},"repository":{"type":"git","url":"git@github.com:bahmutov/quote.git"},"keywords":["string","quote","quotes","single","double"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/quote/issues"},"homepage":"https://github.com/bahmutov/quote","devDependencies":{"gt":"0.8.41","pre-git":"0.1.0"},"pre-commit":"npm test","gitHead":"531a1415a103e8d8b6bc8f9c456f36bbb5b25f99","_id":"quote@0.1.1","_shasum":"b4996fe2d77695f34ee0fd82ae24d11a2babbddd","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"b4996fe2d77695f34ee0fd82ae24d11a2babbddd","size":2033,"noattachment":false,"key":"/quote/-/quote-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/quote/download/quote-0.1.1.tgz"},"directories":{},"publish_time":1411941758819,"_cnpm_publish_time":1411941758819,"_hasShrinkwrap":false},"0.1.0":{"name":"quote","version":"0.1.0","description":"Add quotes to given string unless it already has them","main":"index.js","scripts":{"test":"node node_modules/gt test/test.js"},"repository":{"type":"git","url":"git@github.com:bahmutov/quote.git"},"keywords":["string","quote","quotes","single","double"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/quote/issues"},"homepage":"https://github.com/bahmutov/quote","devDependencies":{"gt":"0.8.41","pre-git":"0.1.0"},"pre-commit":"npm test","gitHead":"312887e1b456789d994b4dd309b53a398a747ed6","_id":"quote@0.1.0","_shasum":"dc561a2cb5b7c421d254695158a74a9ff6f0e1bc","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"dc561a2cb5b7c421d254695158a74a9ff6f0e1bc","size":2045,"noattachment":false,"key":"/quote/-/quote-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/quote/download/quote-0.1.0.tgz"},"directories":{},"publish_time":1411941662594,"_cnpm_publish_time":1411941662594,"_hasShrinkwrap":false}},"readme":"# quote\n\n> Safe quoting a given string without adding duplicate quotes\n\n[![NPM info][nodei.co]](https://npmjs.org/package/quote)\n\n[![Build status][ci-image]][ci-url]\n[![dependencies][dependencies-image]][dependencies-url]\n[![devdependencies][quote-devdependencies-image] ][quote-devdependencies-url]\n\nInstall using node or bower\n\n    npm install quote --save\n    bower install quote --save\n\nUse\n\n    // node\n    var quote = require('quote');\n    quote('foo'); // \"foo\"\n    quote('\"foo\"'); // \"foo\"\n    quote(quote('foo')); // \"foo\"\n\nIn the browser just use global function `quote`\n\n## Changing quote character\n\nOnly single quote character is supported, default is double quotes `\"`.\nTo change:\n\n    var quote = require('quote')({ quotes: '*' });\n    quote('foo'); // *foo*\n    quote('bar'); // *bar*\n\n## To build and test\n\nBecause this is both Node and browser package, you need to build it using \n[universal module definition CLI tool](https://github.com/ForbesLindesay/umd).\n\n    npm run build\n    npm test\n\n## Small print\n\nAuthor: Gleb Bahmutov &copy; 2014\n[@bahmutov](https://twitter.com/bahmutov) [glebbahmutov.com](http://glebbahmutov.com)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSpread the word: tweet, star on github, etc.\n\nSupport: if you find any problems with this module, email / tweet / open issue on Github\n\n[ci-image]: https://travis-ci.org/bahmutov/quote.png?branch=master\n[ci-url]: https://travis-ci.org/bahmutov/quote\n[nodei.co]: https://nodei.co/npm/quote.png?downloads=true\n[dependencies-image]: https://david-dm.org/bahmutov/quote.png\n[dependencies-url]: https://david-dm.org/bahmutov/quote\n[quote-devdependencies-image]: https://david-dm.org/bahmutov/quote/dev-status.png\n[quote-devdependencies-url]: https://david-dm.org/bahmutov/quote#info=devDependencies\n","_attachments":{},"homepage":"https://github.com/bahmutov/quote","bugs":{"url":"https://github.com/bahmutov/quote/issues"},"license":"MIT"}