{"_id":"@boris-turner/clayutils","_rev":"2-2525ef7c2564642f0a8245a170fca870","name":"@boris-turner/clayutils","dist-tags":{"latest":"2.6.3-cnn.0"},"versions":{"2.6.3":{"name":"@boris-turner/clayutils","version":"2.6.3","description":"A collection of utility functions for working with Clay.","main":"index.js","scripts":{"generate-readme":"node docs/generate-readme.js && git add README.md","lint":"eslint lib test index.js index.test.js","test-local":"istanbul cover _mocha","test":"npm run lint && istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"pre-commit":["generate-readme"],"repository":{"type":"git","url":"git+https://github.com/clay/clayutils.git"},"keywords":["clay"],"author":{"name":"New York Media"},"license":"MIT","bugs":{"url":"https://github.com/clay/clayutils/issues"},"homepage":"https://github.com/clay/clayutils#readme","devDependencies":{"chai":"^3.5.0","chalk":"^1.1.3","coveralls":"^3.0.2","eslint":"^4.18.2","handlebars":"^4.0.6","istanbul":"^0.4.5","mocha":"^5.2.0","pre-commit":"^1.2.2","sinon":"^2.1.0"},"dependencies":{"glob":"^7.1.1","lodash":"^4.17.4","nymag-fs":"^1.0.0"},"gitHead":"b41490c2d6288ac4c51d1023469ae7f1cd8f7edf","publishConfig":{"access":"public"},"_id":"@boris-turner/clayutils@2.6.3","_nodeVersion":"12.8.0","_npmVersion":"lerna/3.16.4/node@v12.8.0+x64 (darwin)","dist":{"integrity":"sha512-2JZK3dZHLu43rUpeCeatPgqTkv1GrkCpv73X2uJPyYly3Y48ML/ZcS/p3Dje2TJqPYlkqNNH4oecRwq52ZrjkQ==","shasum":"6a77d981fe14736d623eeaed1d1aacc4c4d1b408","tarball":"https://registry.npmjs.org/@boris-turner/clayutils/-/clayutils-2.6.3.tgz","fileCount":91,"unpackedSize":64500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmfWRCRA9TVsSAnZWagAAVXkP/0sC7NXy4PtRYLt87C2x\njzaGr+VVewBFLGjhTSz8B1m9yguaf984xsdqYVmP7Zct4koA5XZn+cmXL49d\nxQZ0S2+63lD+M3kWj8Bef67VYPYR/beUOSVPil2V7onwxRCYrGUQxXfqCMTZ\n9KNSGaZ1+PzgH2lY1lPz1Cq9HYoyYVkxvd2fbpxCZKkY5yzIGDeRRuT/V8W1\nbs9BIjwO++D9sW+7ov/Dw7o7iHA/nV0Z7vXc0uiGsTmDu6B9PboVSVWWGBWY\n3wc8olj7hsWWqE0DpG76bjcb7i/ONbbPw/08iPuCmnwBAO5L9dqfLZlkGBCG\n1Gr0m0rbMISDaa2JdJ7Jf95DPtn/rX55/mUApINTjw1rXa14UOx4WnoVhMy3\nO7nyOlyL+AElDqR+O4UbkPZmzRzA687XDr+KhY1FKRh3Q5d1M/v6cH1iLmix\nqjBXfjfjYdXaZtG1njFTWmGIGWSIkIgoPMQvLj6gak3Wzy88NUFRV7FCmcmm\nh3Uu3W4RV61Mcg0EYxreqlSdbOOL35OZsZfZDCwqlCBXC6VdGiwv6QHeKLqP\nJ22kvwIjVn19IxZ1OIIYJqqA/qSSGyaoQKjtizWKeIxgB4IcEr+37X/xiAFN\nPfJD9Vo+/zsCZ/h9wrknEt9CO20RV/USj/BkPkzM4E3rcnzMT2jVhrmMCmOc\nnSFY\r\n=lPIQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwN125xDObZf74q9Ww3Q+FxvLeLK0SYQpec9wHExQ6PAIgPVJqYwNdSVyo+yXH9OMvb4oAStXRWlfHyOn8L0OSfjQ="}]},"maintainers":[{"name":"boris-turner","email":"boris.musa@turner.com"}],"_npmUser":{"name":"boris-turner","email":"boris.musa@turner.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clayutils_2.6.3_1570370960533_0.3271880030639098"},"_hasShrinkwrap":false},"2.6.3-cnn.0":{"name":"@boris-turner/clayutils","version":"2.6.3-cnn.0","description":"A collection of utility functions for working with Clay.","main":"index.js","scripts":{"generate-readme":"node docs/generate-readme.js && git add README.md","lint":"eslint lib test index.js index.test.js","test-local":"istanbul cover _mocha","test":"npm run lint && istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"pre-commit":["generate-readme"],"repository":{"type":"git","url":"git+https://github.com/clay/clayutils.git"},"keywords":["clay"],"author":{"name":"New York Media"},"license":"MIT","bugs":{"url":"https://github.com/clay/clayutils/issues"},"homepage":"https://github.com/clay/clayutils#readme","devDependencies":{"chai":"^3.5.0","chalk":"^1.1.3","coveralls":"^3.0.2","eslint":"^4.18.2","handlebars":"^4.0.6","istanbul":"^0.4.5","mocha":"^5.2.0","pre-commit":"^1.2.2","sinon":"^2.1.0"},"dependencies":{"glob":"^7.1.1","lodash":"^4.17.4","nymag-fs":"^1.0.0"},"gitHead":"3963b002e678915503a05d3833bc024e46ebf351","publishConfig":{"access":"public"},"_id":"@boris-turner/clayutils@2.6.3-cnn.0","_nodeVersion":"12.8.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-iVAgNPRUOM3EnfCpcTW1BlKEYmEggx0BCU7PBs9lRqCAdP8MR6/vK2gwMtQolWIqi1m14nHP/kTVMkQN2cvujQ==","shasum":"1df1ba9607b76b4b4da130d91ad23c0ce228214d","tarball":"https://registry.npmjs.org/@boris-turner/clayutils/-/clayutils-2.6.3-cnn.0.tgz","fileCount":91,"unpackedSize":64506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmiHuCRA9TVsSAnZWagAA34QP/113UZ7iqJxUOR1Xhdtw\ndo06m2flyh47spKzsEczcFQiNUfoXtIc2bXEjecWKl/yJM7MUa/DdYBqCFqG\nLsT4psXRWNCWM0XIpVUuKVhh5tasmSt7Htpih8Oug19LbF4ZnWaRoE2oLxl9\noZwBE3DRuip9jN/tTwWPdfM4MWCQuyb304YjJ26NZqnyG8URXqm3IkF3r7ce\nK36cUk15YAowDLeGZarlueHXYe5iwHExuVVrquLNQbPza5HAbMplGeoZJTp9\nvX1XCtTHF50GdCKOKzg9rOP3kFBNrrj76WeDmVwfCWtX6kB/NHYD25bEl8Yo\nwedpoaDLVoRgv1MZybGqTtIeXlK3Obl0LA+cYr0DfhBlk/U65EpGuIfPSoxG\nG7wOy5vcSOf6+gOOupv8TnPhwgT5zEt5H3I5o2NAvtrEogJgz2gTf1CCVGXa\n9MGuwATnZPvhwQV/dREE83hNrK5vSSSl/EwvjYeLQqjJW13xJHWiSeGEn9gS\nO607JT3BRwqWANIGwJiC+mCKaxSC3+ow83djZEtV+0OLSic3q2hbUA+bifK+\n+Fv+geaWr5CbKh6VYP0pdoix2ZmjKR/JCxSaPFFWmoGHHKDKSbSyq2N7f4je\nD7MhNB/t6Uvk1jv8bza1dJpOMKftnmtSvh/kI5uWr7cnmiCjgxRFYAszb7rc\naIj0\r\n=jp1x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUjbNtmGJEnQOd/gdl/pEJvFrh/kiZvHa2D+ubWT/qFQIgbajH5xGpgHgkFbEFvwrARvE5OdiSiZUvI+wYEQhLSRk="}]},"maintainers":[{"name":"boris-turner","email":"boris.musa@turner.com"}],"_npmUser":{"name":"boris-turner","email":"boris.musa@turner.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clayutils_2.6.3-cnn.0_1570382317658_0.9302632439492577"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-06T14:09:20.307Z","2.6.3":"2019-10-06T14:09:20.824Z","modified":"2022-04-04T20:12:50.868Z","2.6.3-cnn.0":"2019-10-06T17:18:37.983Z"},"maintainers":[{"name":"boris-turner","email":"boris.musa@turner.com"}],"description":"A collection of utility functions for working with Clay.","homepage":"https://github.com/clay/clayutils#readme","keywords":["clay"],"repository":{"type":"git","url":"git+https://github.com/clay/clayutils.git"},"author":{"name":"New York Media"},"bugs":{"url":"https://github.com/clay/clayutils/issues"},"license":"MIT","readme":"# clayutils\n\n[![Build Status](https://travis-ci.org/clay/clayutils.svg?branch=master)](https://travis-ci.org/clay/clayutils)\n[![Coverage Status](https://coveralls.io/repos/github/clay/clayutils/badge.svg?branch=master)](https://coveralls.io/github/clay/clayutils?branch=master)\n\nUtility functions for working with Clay.\n\nVersion 2.x is compatible with Amphora 5.x. For pre-5.x utilities refer to 1.x releases.\n\n# Installation\n\n```\nnpm install --save clayutils\n```\n\n---\n\n# Utils:\n\n* **findComponentRefInPage** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/findComponentRefInPage)\n* **getComponentInstance** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getComponentInstance)\n* **getComponentName** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getComponentName)\n* **getComponentVersion** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getComponentVersion)\n* **getLayoutInstance** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getLayoutInstance)\n* **getLayoutName** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getLayoutName)\n* **getListInstance** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getListInstance)\n* **getPageInstance** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getPageInstance)\n* **getPageVersion** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getPageVersion)\n* **getPrefix** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/getPrefix)\n* **isComponent** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isComponent)\n* **isDefaultComponent** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isDefaultComponent)\n* **isDefaultLayout** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isDefaultLayout)\n* **isLayout** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isLayout)\n* **isLayoutMeta** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isLayoutMeta)\n* **isList** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isList)\n* **isPage** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isPage)\n* **isPageMeta** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isPageMeta)\n* **isPublished** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isPublished)\n* **isUri** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isUri)\n* **isUser** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/isUser)\n* **jsonPrefixToSlug** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/jsonPrefixToSlug)\n* **jsonSlugToPrefix** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/jsonSlugToPrefix)\n* **replaceVersion** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/replaceVersion)\n* **uriPrefixToSlug** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/uriPrefixToSlug)\n* **uriSlugToPrefix** [(code|tests|docs)](https://github.com/clay/clayutils/tree/master/lib/uriSlugToPrefix)\n","readmeFilename":"README.md"}