{"_id":"keystone-utils","_rev":"53-fd709d7048a6f26c8c5940455de30c9e","name":"keystone-utils","description":"A useful library of utilities used by KeystoneJS, and you!","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"keystone-utils","version":"0.1.0","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional"],"dependencies":{"underscore":"~1.5.2","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"_id":"keystone-utils@0.1.0","dist":{"shasum":"80afde3c30320af21b84771850415a7b9e282c82","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.0.tgz","integrity":"sha512-X4PQaAPSW22fJw5X+P/Wl9YkzsjQbclpinctfLnbfD5hk1sQiKciyO8x6LcIW4XnsLh+53b2Nla68iPBInUeCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBGVshqxtHifsHUVPeZS9QKCBLUvU2qD5gCq1eQIY2FdAiBlt83A/F8iVYNWWHlQ5CnCEdyp6UXj3u1+gLHVTfzD0A=="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.1":{"name":"keystone-utils","version":"0.1.1","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional"],"dependencies":{"underscore":"~1.5.2","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"_id":"keystone-utils@0.1.1","dist":{"shasum":"eedaa6a3b1cd070d89e5d4aa21dc5030ef5edf3f","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.1.tgz","integrity":"sha512-GIXeMEofvPpS1pVURMPNqi2EZjeXfulg+btRZF7yXnYGSQDPs0tE8G2DEuIQYqw77YJjUpKDbfHE2ZuCCQoEKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHvVN+CSfioqcrRJFcS7RY2LPV1d9TlO6gcnJqbKl/l+AiEA2bHjbG+6+zMmVG3hqPm3TI4yGlfZ1esbAmjl1PrXcHA="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.2":{"name":"keystone-utils","version":"0.1.2","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional"],"dependencies":{"underscore":"~1.5.2","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.2","dist":{"shasum":"d918156cb7c04e0830bf65cfea0ce244aedfff94","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.2.tgz","integrity":"sha512-Q01RCC+pj/D6WgpIu0JMbnF/HOnUfkujMKFznnofDh5cmFGepzta7dZhLu9bHfTSpc0DhzgtIPZKoHvQbacang==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwfMxUi3+K3yQB9pF3wvo5nyWl30bGbzepPnhaXgu/+AiEA2X9pNiv4HDV9kgkT2q3i/kyJCLn6IysCeIlcXJ7p6z8="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.3":{"name":"keystone-utils","version":"0.1.3","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional"],"dependencies":{"underscore":"~1.5.2","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.3","dist":{"shasum":"c70c078762441af236e98abf0d18f3bb751a98eb","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.3.tgz","integrity":"sha512-vA5qM3QrkpTwgZ97fo5gBFmmsga7jL9a+o3w9tyYpGGtmbbLakm/Rlzq95uo1IdWR4ajuCNgx8situp7eBi0Mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAReULSMnmKLhI2crAk8lDtJLDVzFzMIAvd3tBsTL24yAiAQFulDbP+PjkY5Fn5DnD8PvbrBJpK2f0QKQo8YlMujCw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.4":{"name":"keystone-utils","version":"0.1.4","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional"],"dependencies":{"underscore":"~1.5.2","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.4","dist":{"shasum":"619d62673c274eb3efac3d7c1e60e3e0c01b7aaf","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.4.tgz","integrity":"sha512-t27YvO+er98kbGvFboLniGR0DaiKLbythOBmcQCeEWa4zb3E8LsaxCeCrz6bGH9mHIFPCErhNAvYq6FMhrFLeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCUIGaBMhuVA7c4+JjnPhUSVf0cnwa0keEt5IC7M0VSgIgfbrAAZdJKXFuUyHnSU6hI5uMNw7a4JySqAOH0+hS59M="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.5":{"name":"keystone-utils","version":"0.1.5","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional"],"dependencies":{"underscore":"~1.5.2","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.5","dist":{"shasum":"16a9ceaabfec13da2bc1904b50851170d08c9d9e","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.5.tgz","integrity":"sha512-pupW38pSqVv7zNeDT0xtlJq7X1VvZRkk4FqZb+L1qWJ3PTbw/Ml/GC99D3u2/Z2neel3UyouSbtKg52smnx9zQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz1BAFWdfSSNfM7Ppaw9RYrXgw8/kUWjc//Sm3RRqcwwIhALdHQp98SmWbODQwzWA46+WpKwESt0x2ymjjmTrOTijh"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.6":{"name":"keystone-utils","version":"0.1.6","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional"],"dependencies":{"underscore":"~1.5.2","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.6","dist":{"shasum":"02ab7040d0331d8df3cb315cb19db8fafe055322","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.6.tgz","integrity":"sha512-oAYJbntwSzi2Ib2D+9v3EmOMX4bGRHyXXXX05Et5jHseKPbGfKjMmCBnlbpDPSbHsjne9nlA8YyDwTZfUhaRhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh9dLCeCEZDa4TpnZ5tcCJKIG+FFG8bxk2ulwLwVkcbQIhAIcI2Wz+QrCbCp893Qdis4ijq5bwtDGZ6dpkiqtgThiQ"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.7":{"name":"keystone-utils","version":"0.1.7","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional"],"dependencies":{"underscore":"~1.5.2","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.7","dist":{"shasum":"9573623177dbe4c19f0a6722bf3ab048974f43d2","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.7.tgz","integrity":"sha512-GQlm5SrtlWDuPXFOvUxMesslXAWaPZyK/Eq8aBsqxrSKFs2QvDMshamGCWpf5VO9ANyFRg3Pf5LwAC+aAdfcBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGu4cOwbcbe+E+Cz5CUANTTAfaoVEI3OWRDYSzsOhRnaAiEA40pSAGGJ2QXXGGN+aDbKSYqvvjgh36TkS0Z2qtk2X1o="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.8":{"name":"keystone-utils","version":"0.1.8","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.5.2","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.8","dist":{"shasum":"451b5fba1d7ea83a305b733b151bc0f98da786fb","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.8.tgz","integrity":"sha512-Cr/TX1inxFMCNF42kIxxcDVbZRC1NUCsifSAXCMBnleowwSUTRWn+EIyxjS64H9uOgrrBiBAdyTEGf9N6zlCvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmpdBQgIcSgwle72Xw90jeBStXTaVzOuTWDmW94vgXuAiEA8iLiY4eeTcGoc5eynSz1HU7UiZjZCp3COc2anzyz9Hw="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.9":{"name":"keystone-utils","version":"0.1.9","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.6.0","html-stringify":"~0.0.1","i":"~0.3.2"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.9","dist":{"shasum":"ac923c6b733b927d5e2df29aa35b0d5e645c6ac2","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.9.tgz","integrity":"sha512-8eisnV+CG1LWduX89PWHE9eyf6V8y9pu77m9vSRqduvis4x2S3qHW+QqFbxB8095pBrn+ZuUnxXPjiI8qHRkTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWD1XTi1hiRNJDn7pnGJoOcPsU9ZEpxFdXv4HACpaC8AiEA6Gj/oR24qnE9KLdXPcyuhr25+G9Gcz1ZgMO8v+WX54o="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.10":{"name":"keystone-utils","version":"0.1.10","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.6.0","html-stringify":"~0.0.1","i":"~0.3.2"},"devDependencies":{"mocha":">= 1.19 < 2","must":">= 0.11 < 1"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"test":"mocha ./tests -R spec"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.10","dist":{"shasum":"1efc594762d615d414519a9271b90e239dfd860b","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.10.tgz","integrity":"sha512-onigfkc2wGYyZ1Mfq1xkSzzbwPSR4BXj2HiIT37c8JZIM7kjIwIQPWB/aM2i6yedwAOrejdkXJqiDtfiyPhdSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEI8LY2uqTjRqwifdyHZQlCn7Mr5skEbk1gS7TS1DzaRAiEA1EZ+qVUN4CPf0kdmTWPSUupqXzkd6XoitRjr/CediE8="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.1.11":{"name":"keystone-utils","version":"0.1.11","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.6.0","html-stringify":"~0.0.2","i":"~0.3.2"},"devDependencies":{"mocha":">= 1.19 < 2","must":">= 0.11 < 1"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"test":"mocha ./tests -R spec"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.11","_shasum":"fb83ed5146e8101736716e7d7d2d081694235221","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"dist":{"shasum":"fb83ed5146e8101736716e7d7d2d081694235221","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.11.tgz","integrity":"sha512-QHYFgkTiuNKSAhzwmHBzWJo2ho7xtI+UZvpsu/bL9mprS9R+QVF6/HCrN9etPdq1ZFjucWX+mc162/wua6YM9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWtzh0j9mNY49Di07HJxYEvjglB0SKeptQ2/CcILezpgIhALcyXbQ3bCpMsK8gTVyxR5eMSfiTHNUA47R9qzZvRmgv"}]},"directories":{}},"0.1.12":{"name":"keystone-utils","version":"0.1.12","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.7.0","html-stringify":"~0.0.2","i":"~0.3.2"},"devDependencies":{"mocha":">= 1.19 < 2","must":">= 0.11 < 1"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"test":"mocha ./tests -R spec"},"homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.12","_shasum":"c2fde137d8f91c84f795f077cd0068aba204e8cb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"dist":{"shasum":"c2fde137d8f91c84f795f077cd0068aba204e8cb","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.12.tgz","integrity":"sha512-k0bm+veOvI38uHeBWB2s/EiqYLwafdwLwkxpjN+WBrh+NcCwFBUQBzBGWW+cm8NP8vXGqRV0gSSn0IEG2PE23Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9pfSsA1o76oNO6kxbQHL9s4gG2IzFKelXd4gjIjIhpAiBSlJN+RayyKTtbg7K8F0Q/1Cau+53edRmzSuPkwCk6ug=="}]},"directories":{}},"0.1.13":{"name":"keystone-utils","version":"0.1.13","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.7.0","html-stringify":"~0.0.2","i":"~0.3.2"},"devDependencies":{"mocha":">= 1.19 < 2","must":">= 0.11 < 1"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"test":"mocha ./tests -R spec"},"gitHead":"5db31fba5c5688711798bea5a0bbcb50ff3b4c80","homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.1.13","_shasum":"431330dfcd26a20e28853b9a523d35cb7d90bd73","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"dist":{"shasum":"431330dfcd26a20e28853b9a523d35cb7d90bd73","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.1.13.tgz","integrity":"sha512-6do3jAsOy03ut6mTXtTmn77dxHYXLJaIfnxC01qltltLuLwHNEESTU1j+WFOn6tEoC3bycfmRnhVDZe1mNUokw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9/u0G06udYsZlvBa8r/b05Ra/ysqZjM2aNxNyRuVWRAiEAl5+Sfx7oO0Zd+5os4MTfSh48QmemuhXO+nr5G4Wky4g="}]},"directories":{}},"0.2.0":{"name":"keystone-utils","version":"0.2.0","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.8.3","html-stringify":"~0.0.3","i":"~0.3.3","limax":"~1.1.0"},"devDependencies":{"happiness":"^1.0.5","mocha":">=2.2","must":">=0.12"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"9a92506830e7f907dac25c40fa576406270fff9e","homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.2.0","_shasum":"beb2032f830dc13f89ff8133ec61e1702d6e6e9d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"dist":{"shasum":"beb2032f830dc13f89ff8133ec61e1702d6e6e9d","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.2.0.tgz","integrity":"sha512-y7CYA/syFqg8lLs5tM0IT1ox+R6XBAAr3LpVf2AoRnNlxt5uQOiryYgRVyB48Suqn9sKQgsufgC4ljWdnKoh1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3C/7bH5o6h1wGo7xGgRNeITtR3FxAbd3DehnJSfv4GQIhAOrz8PlRLGA1vkNQe5DYJDFvemoQ5P3HeePe5rQl9wzS"}]},"directories":{}},"0.2.1":{"name":"keystone-utils","version":"0.2.1","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.8.3","html-stringify":"~0.0.3","i":"~0.3.3","limax":"~1.1.0"},"devDependencies":{"happiness":"^1.0.7","mocha":">=2.2","must":">=0.12"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"448ef120f606a8be0cd7de7f5aa4197a09ae1889","homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.2.1","_shasum":"2948b0e5c36765462fbb359b875b790c4474cd08","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"dist":{"shasum":"2948b0e5c36765462fbb359b875b790c4474cd08","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.2.1.tgz","integrity":"sha512-zXV7DjuIf+xASi1ir1JVR/wGe0VXs+wWJvGOLJzKTi1TlFVKvTLgi6Otz66MQG5rskw07KVKLCDEN0/QzP6OGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuY0UsQUFfWXa3RnNyU+mhR9hXHoYKVlXhKkmWGqTPaAIhAO79nv4TgH6ghYmu+XcKltVL82ovitM6Ob1gwlvwv5Jw"}]},"directories":{}},"0.2.2":{"name":"keystone-utils","version":"0.2.2","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"underscore":"~1.8.3","html-stringify":"~0.0.3","i":"~0.3.3","limax":"~1.1.2"},"devDependencies":{"happiness":"^1.0.7","mocha":">=2.2","must":">=0.12"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"2f9a8d17186aa2e096e8a5cfed868a58639ccac2","homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.2.2","_shasum":"37b030381ad6ca84702f83d3f483a1ed38f58a90","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"dist":{"shasum":"37b030381ad6ca84702f83d3f483a1ed38f58a90","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.2.2.tgz","integrity":"sha512-hHqKFihinobwU+mOc1FIg4HpOr/1kkHJQaSWkeh4WJr6+uySOITplKNw78U5aRAAmYrTqDst9OcEVd/Ot2QYqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU7Zoj7Y0N8XrJgxLGsz8agYdXArgT1W3iEIQ5EzntvwIhALE1AwLlpvrLu+I+HyGeY1eKVd8VHU9KO9ky26C3TI2L"}]},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.2.3":{"name":"keystone-utils","version":"0.2.3","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"git+https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"html-stringify":"~0.0.3","i":"~0.3.3","limax":"~1.1.2","randomkey":"^1.0.0","underscore":"~1.8.3"},"devDependencies":{"happiness":"^1.0.7","mocha":">=2.2","must":">=0.12"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"76b22fd22db617e47517d4372f87c89d21261257","homepage":"https://github.com/JedWatson/keystone-utils#readme","_id":"keystone-utils@0.2.3","_shasum":"1396c59159c09e38c7ae52537049f95f039d79ee","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"dist":{"shasum":"1396c59159c09e38c7ae52537049f95f039d79ee","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.2.3.tgz","integrity":"sha512-WN5aknNs0j9w0QiTIpicf3skgqhjdVjjAgmqj6wIteQWy/HR+4/nP5c6ze4CZyoHHdiXu94ZM1PQa1HxJNkK2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8xa5UHZVg/xu6cPssweIdYXn2uryHwVBG7srKXn359QIgKvc1X2c9UDaMMfGZXffv7mJP3fM8IQUQ+TjqLdBhYnw="}]},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.3.0":{"name":"keystone-utils","version":"0.3.0","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"html-stringify":"~0.0.3","i":"~0.3.3","slug":"^0.9.1","randomkey":"^1.0.0","underscore":"~1.8.3"},"devDependencies":{"happiness":"^1.0.7","mocha":">=2.2","must":">=0.12"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"bf97ecf734ebe0982191870325e644052f145e95","homepage":"https://github.com/JedWatson/keystone-utils","_id":"keystone-utils@0.3.0","_shasum":"134faa7ac814ccad32caead691392affaac3a443","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"dist":{"shasum":"134faa7ac814ccad32caead691392affaac3a443","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.3.0.tgz","integrity":"sha512-SVI/Qo2b37CbH41PafofV8t4Kpuq0z1h64NuE1bDWrQUlvnfO+UbZomlG5S1gEsLkroTHjxAGZSWmb86OeWm1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkb6tqA2ZYqHbADBiFBkGlPxY2mlJL5YtmdyNhlO/GfAiAD4k4EXB1DJxsxk8fyBsnDK9b77gpqAM6Ss6T7ctnsqw=="}]},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.3.1":{"name":"keystone-utils","version":"0.3.1","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"git+https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"html-stringify":"~0.0.3","i":"~0.3.3","slug":"^0.9.1","randomkey":"^1.0.0"},"devDependencies":{"happiness":"^1.0.7","mocha":">=2.2","must":">=0.12"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"90d1f88cdcfa2f2e0a22e0925833483fed23fd4c","homepage":"https://github.com/JedWatson/keystone-utils#readme","_id":"keystone-utils@0.3.1","_shasum":"c6605ee4e58b912a655bad77ccf5caf1618e0ad3","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"dist":{"shasum":"c6605ee4e58b912a655bad77ccf5caf1618e0ad3","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.3.1.tgz","integrity":"sha512-Ai8nMckh7IVD516N85jwX3hAaFpY3OM1UD0rniP+CRNgCMoFB0vXC9HMvqeGaUHNj4pkA5H/xgoEDpdHnmCNoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcgO+db4fPC9bZAnq5oiBj/3jG9778n/0UhSQUOLhlrAiAZ+jo6UD0EaSkovqrlxRFPvNJFlpDFbMqpX0RxvRDhKw=="}]},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"directories":{}},"0.3.3":{"name":"keystone-utils","version":"0.3.3","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"git+https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"html-stringify":"~0.0.3","i":"~0.3.3","slug":"^0.9.1","randomkey":"^1.0.0"},"devDependencies":{"happiness":"^1.0.7","mocha":">=2.3","must":">=0.13"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"fc3625959ceb91339f94b3c2a07e47e2b2e65b6d","homepage":"https://github.com/JedWatson/keystone-utils#readme","_id":"keystone-utils@0.3.3","_shasum":"3d5bf35dfe9493c38302b9ac49c29c14dee5f224","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"dist":{"shasum":"3d5bf35dfe9493c38302b9ac49c29c14dee5f224","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.3.3.tgz","integrity":"sha512-M1Cwdj5h+b27+VEpSMkcNaiR8Cv54L3Av6mbKUxLZ2+Iey2IvNXjkv3SFk/0kUwZ/ndvlXD0xz343Ypw0AbFcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdgFhU0QOZ3IVtBV2ygXOx1o7q5g6JzOGe1K0cP6emMgIhAIt1IX5riUo+BZKGi2ijXpdJNXPTgo5svF2ki+9fZScZ"}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/keystone-utils-0.3.3.tgz_1455447973630_0.4599099433980882"},"directories":{}},"0.3.4":{"name":"keystone-utils","version":"0.3.4","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"git+https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"html-stringify":"~0.0.3","i":"~0.3.3","slug":"^0.9.1","randomkey":"^1.0.0"},"devDependencies":{"happiness":"^1.0.7","mocha":">=2.3","must":">=0.13"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"4c675feb95103e1b144efeef9614e468204b9c40","homepage":"https://github.com/JedWatson/keystone-utils#readme","_id":"keystone-utils@0.3.4","_shasum":"06c3dcefef4ddbdbc43f114597a4128ed633f06f","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"dist":{"shasum":"06c3dcefef4ddbdbc43f114597a4128ed633f06f","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.3.4.tgz","integrity":"sha512-kNfM9l7HjgKUKPEk2AL8qV2asWI/UYTgTPrQY1Syk+P5xECpZ/TABeva+L6ZBw9pj+Wa252GG7cCw+ercZvyyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAsCyP5CrvnO0Qd6RmddRO7qrJLS3d7P0N7msyP3jceIAiEA7r7+zeLYOtGwdKzWWRZBLM7q4k/czK+QmucuTti8QTE="}]},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/keystone-utils-0.3.4.tgz_1455790880236_0.19063907163217664"},"directories":{}},"0.3.5":{"name":"keystone-utils","version":"0.3.5","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"git+https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"html-stringify":"^0.0.3","i":"^0.3.5","mollusc":"^1.0.3","randomkey":"^1.0.0"},"devDependencies":{"happiness":"^6.0.7","mocha":"^2.4.0","must":"^0.13.0"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"4c0db055e0eb73eee7b386aa0d0c5de845c071f1","homepage":"https://github.com/JedWatson/keystone-utils#readme","_id":"keystone-utils@0.3.5","_shasum":"049b6559d04c566cd7e8d6806d01776d05e0eaf7","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"dist":{"shasum":"049b6559d04c566cd7e8d6806d01776d05e0eaf7","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.3.5.tgz","integrity":"sha512-G6RgBANCrnNprABPWpo4edXYRjqees4uIx1cp3hzsMDZIh+23/EzStDDwCypP0xvt6oSp2BcA/nmR3edtDjVyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHUk1f3m/TJy3WLUc4wLtb50ugH6A+sJO+QSQ0PeO0BXAiARSuDXRxDB/ELyI9bK8wWzRbhWIZRUl3e8NsJ8kE/SZQ=="}]},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keystone-utils-0.3.5.tgz_1462463475561_0.6472332037519664"},"directories":{}},"0.3.6":{"name":"keystone-utils","version":"0.3.6","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"git+https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"html-stringify":"^0.0.3","i":"^0.3.5","randomkey":"^1.0.0","slug":"^0.9.1"},"devDependencies":{"happiness":"^6.0.7","mocha":"^2.4.0","must":"^0.13.0"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"820b590483b850b170b0b2131eb44e496875f014","homepage":"https://github.com/JedWatson/keystone-utils#readme","_id":"keystone-utils@0.3.6","_shasum":"6c666079cd29c104545c37baa6fa899936903087","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"dist":{"shasum":"6c666079cd29c104545c37baa6fa899936903087","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.3.6.tgz","integrity":"sha512-VAS+wLHqDKcJCq0wNnketDlU3tDB/eRxuWlba/QcFixfNdi+MgMCsb4WJS+F0AHUv/R+N/t9XV/GasrsvbwxGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJ8mxdCoddw5FeJQAlER9OcDwe/IHzwxNVRN7sEZ3SeAiEAp7iCQbE89Z6AZ4jI4Bxfoi9xUi6976V0TsJYQfHHg/w="}]},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keystone-utils-0.3.6.tgz_1462706063731_0.24510042555630207"},"directories":{}},"0.4.0":{"name":"keystone-utils","version":"0.4.0","description":"A useful library of utilities used by KeystoneJS, and you!","main":"index.js","repository":{"type":"git","url":"git+https://github.com/JedWatson/keystone-utils.git"},"keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"dependencies":{"html-stringify":"^0.0.3","i":"^0.3.5","randomkey":"^1.0.0","speakingurl":"^9.0.0"},"devDependencies":{"happiness":"^6.0.7","mocha":"^2.4.0","must":"^0.13.0"},"author":{"name":"Jed Watson"},"license":"MIT","bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"scripts":{"lint":"happiness","test":"mocha ./tests -R spec"},"gitHead":"6b0809c760f9b4895168e40821fa37095b44dea4","homepage":"https://github.com/JedWatson/keystone-utils#readme","_id":"keystone-utils@0.4.0","_shasum":"caccf1da741ff6633379f76bb05359f995b77d40","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"jedwatson","email":"jed.watson@me.com"},"dist":{"shasum":"caccf1da741ff6633379f76bb05359f995b77d40","tarball":"https://registry.npmjs.org/keystone-utils/-/keystone-utils-0.4.0.tgz","integrity":"sha512-Uq1rtxeoPTLn9i0gx/rMWyEb3mrGV02hAP9HnsZbdJpCZ9YZPDo8JabKDKWM/eRbOpPTV0feuYtpw49T1UGs0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFYenttVLXi6ui92SwEY8fWzGpBhjbdLkOmg9C6bs9wwIhAOLLVPofQ3ANsaYuhmuRP+lfny55QokHFeuv6kd3G5BD"}]},"maintainers":[{"name":"jedwatson","email":"jed.watson@me.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/keystone-utils-0.4.0.tgz_1462713554264_0.5011134871747345"},"directories":{}}},"readme":"Keystone Utils\n==============\n\nA useful library of utilities for node.js used by\n[KeystoneJS](http://keystonejs.com) and you!\n\nIt provides additional functionality for manipulating and converting various\ntypes of data, including converting strings between various forms, and\nlightweight html &larr; &rarr; text conversion.\n\n\n## Usage\n\n\tnpm install keystone-utils --save\n\n... then ...\n\n\tvar utils = require('keystone-utils');\n\tconsole.log(utils.isObject({})); // true!\n\n### Bundled with KeystoneJS\n\nIf you're using [KeystoneJS](http://keystonejs.com), it exposes this library\nas `.utils`.\n\n\tvar keystone = require('keystone');\n\tvar utils = keystone.utils;\n\n\n## Test utilities\n\n*\t`isFunction(arg)` - determines if `arg` is a function\n*\t`isObject(arg)` - determines if `arg` is an object\n*\t`isValidObjectId(arg)` - determines if `arg` looks like a valid MongoDB ObjectId\n*\t`isArray(arg)` - determines if `arg` is an array\n*\t`isDate(arg)` - determines if `arg` is a date\n*\t`isString(arg)` - determines if `arg` is a string\n*\t`isNumber(arg)` - determines if `arg` is a number\n*\t`isDataURL(arg)` - determines if `arg` is a base64 encoded data URI\n*\t`isEmail(arg)` - make sure `arg` looks like a valid email address\n\t*\tUses a regular expression to check, so may cause false-negatives in\n\t\textremely rare cases. See http://www.regular-expressions.info/email.html\n\n## Option utilities\n\n*\t`options(defaults, options)` - copies and merges options into the defaults\n*\t`optionsMap(arr, property, clone)` - creates a map of options\n\t*\tTurns an array of objects into an object of objects, with each object\n\t\tunder the value of `property`\n\t*\tPerforms a deep clone of the objects when `clone` is set to true\n\n## Function utilities\n\n*\t`noop()` - a simple function that does nothing (\"no operation\")\n*\t`defer(fn, args...)` - wraps the function and invokes it in `process.nextTick`, great for Zalgo containment\n*\t`bindMethods(obj, scope)` - recursively binds method properties of `obj`\n\tto `scope` and returns a new object containing the bound methods.\n\n## Random utilities\n\n*\t`randomString(len, chars)` - Generates a 'random' string of characters to the\n\tspecified length (uses Math.random).\n\t*\t`len` can be an array of `[min, max]` length to generate\n\t*\t`chars` is a string of characters to include, defaults to\n\t\t`0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz`\n\n## Conversion utilities\n\n*\t`number(arg)` - converts a string to a number, accepting human-friendly input\n\t*\te.g. `1,432` &raquo; `1432`, `$1432` &raquo; `1432`, `2.5` &raquo; `2.5`\n*\t`escapeRegExp(str)` - escapes a string to be safely converted to a regular expression\n*\t`escapeString(str)` - escapes a string to be safely used as a Javascript string literal\n*\t`stripDiacritics(str)` - stips accented characters from a string, replacing them with their simple equivalents\n*\t`transliterate(str)` - transliterates Russian and Ukrainian words from cyrillic to latin\n*\t`singular(str)` - converts a string to its singular form\n*\t`plural(count, singular, plural)` - displays the singular or plural of a string\n\tbased on a number or number of items in an array.\n\t*\tReplaces `*` in the string with the number\n\t*\tWill automatically convert `singular` to `plural` when plural is not provided\n\t*\tWhen only given one argument, will return the plural form of a string\n\t*\te.g.\n\t\t*\t`plural(1, '* thing')` &raquo; `'1 thing'`\n\t\t*\t`plural(2, '* thing')` &raquo; `'2 things'`\n\t\t*\t`plural([1,2], 'single', 'couple')` &raquo; `'couple'`\n\t\t*\t`plural('friend')` &raquo; `'friends'`\n*\t`upcase(str)` - converts the first letter in a string to Uppercase\n*\t`downcase(str)` - converts the first letter in a string to lowercase\n*\t`titlecase(str)` - converts a string to Title Case\n*\t`camelcase(str, lowercase)` - converts a string to camelCase\n\t*\tThe `lowercase` argument causes the first letter to be lowercase, and\n\t\tdefault to `true`.\n*\t`decodeHTMLEntities(str)` - decodes html entities in a string\n*\t`encodeHTMLEntities(str)` - encodes html entities in a string\n*\t`stringify(obj)` - safely stringifies an object to JSON for output in JavaScript source (escapes illegal JS but valid JSON unicode characters)\n*\t`textToHTML(str)` - lightweight conversion of text to HTML (line breaks to `<br>`)\n*\t`htmlToText(str)` - lightweight conversion to HTML to text\n\t*\tReally only useful when you need a lightweight way to remove html from a\n\t\tstring before cropping it, so you don't end up with partial tags or an\n\t\tinvalid DOM structure.\n\t*\tIt will convert `br`, `p`, `div`, `li`, `td`, `th` tags to single\n\t\tline-breaks. All other tags are stripped.\n\t*\tMultiple line breaks are then compressed to a single line break, and\n\t\tleading / trailing white space is stripped.\n\t*\tFor a more sophisticated use-case, you should check out the `to-markdown`\n\t\tand `html-to-text` packages on npm.\n*\t`cropString(str, length, append, preserveWords)` - crops a string to the\n\tspecified length\n\t*\tYou can optionally provide a string to `append` (only appended if the\n\t\toriginal string was longer than the specified length).\n\t*\tIf `preserveWords` is true, the length is extended to the end of the last\n\t\tword that would have been cropped.\n*\t`cropHTMLString(str, length, append, preserveWords)` - crops an HTML string\n\tsafely by converting it to text, cropping it, then converting it back to HTML\n*\t`slug(str, separator)` - generates a slug from a string. Word breaks are hyphenated.\n\t*\t`separator` defaults to '-'\n*\t`keyToLabel(str)` - converts a key to a label\n\t*\te.g. `keyToLabel('myKey')` &raquo; `My Key`\n*\t`keyToPath(str, plural)` - converts a key to a path\n\t*\tLike `slug(keyToLabel(str))` but will optionally converts the last word\n\t\tto a plural.\n\t*\te.g. `keyToPath('someThing', true)` &raquo; `some-things`\n*\t`keyToProperty(str, plural)` - Converts a key to a property.\n\t*\tLike `keyToPath` but converts to headlessCamelCase instead of dash-separated\n*\t`calculateDistance(point1 [lat, lng], point2 [lat, lng])` - Returns the distance between two `[lat,lng]` points in radians\n*\t`kmBetween` - Returns the distance between two `[lat,lng]` points in kilometers\n*\t`milesBetween` - Returns the distance between two `[lat,lng]` points in miles\n\n\n\nCredits\n=======\n\nUses the inflect library for singular / plural conversion,\nsee https://github.com/pksunkara/inflect or `npm info i`\n\nSome utils are borrowed from / inspired by `mongoose/utils.js`,\nsee https://github.com/LearnBoost/mongoose\n\nHTML Entity encode / decode is based on code in `node-html-to-text`,\nsee https://github.com/werk85/node-html-to-text\n\nThe transliteration code is based on https://www.npmjs.org/package/transliteration.cyr\n","maintainers":[{"email":"npm@mxstbr.com","name":"mxstbr"},{"email":"jed.watson@me.com","name":"jedwatson"}],"time":{"modified":"2022-06-19T08:35:27.754Z","created":"2013-11-06T13:40:31.128Z","0.1.0":"2013-11-06T13:40:37.285Z","0.1.1":"2013-11-18T10:55:30.199Z","0.1.2":"2013-12-03T06:03:28.597Z","0.1.3":"2013-12-06T05:18:57.601Z","0.1.4":"2013-12-22T14:00:20.986Z","0.1.5":"2014-01-24T03:41:08.652Z","0.1.6":"2014-02-08T08:41:16.417Z","0.1.7":"2014-03-18T00:04:17.736Z","0.1.8":"2014-03-27T10:29:22.677Z","0.1.9":"2014-04-01T13:21:27.185Z","0.1.10":"2014-05-28T07:02:41.129Z","0.1.11":"2014-08-29T11:55:31.034Z","0.1.12":"2014-08-29T12:03:47.217Z","0.1.13":"2014-12-21T12:21:21.454Z","0.2.0":"2015-05-31T01:55:30.811Z","0.2.1":"2015-07-11T10:05:03.976Z","0.2.2":"2015-07-14T13:31:02.894Z","0.2.3":"2015-07-15T06:35:02.522Z","0.3.0":"2015-07-31T13:57:28.645Z","0.3.1":"2015-11-29T08:33:23.440Z","0.3.3":"2016-02-14T11:06:15.590Z","0.3.4":"2016-02-18T10:21:24.527Z","0.3.5":"2016-05-05T15:51:15.981Z","0.3.6":"2016-05-08T11:14:24.126Z","0.4.0":"2016-05-08T13:19:16.722Z"},"author":{"name":"Jed Watson"},"repository":{"type":"git","url":"git+https://github.com/JedWatson/keystone-utils.git"},"readmeFilename":"README.md","homepage":"https://github.com/JedWatson/keystone-utils#readme","keywords":["util","utils","string manipulation","conversion","helpers","functional","html","string","diacritics","transliterate","transliteration","html entities"],"bugs":{"url":"https://github.com/JedWatson/keystone-utils/issues"},"license":"MIT","users":{"molomby":true,"mirkoj":true,"wangshijun":true,"calvincchan":true}}