{"_id":"@7stack.io/snippets-helpers","_rev":"1-8541be413bd37be7c1b3f96593bbf1df","name":"@7stack.io/snippets-helpers","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@7stack.io/snippets-helpers","version":"0.0.1","description":"Helpers for the 7stack snippets template engine","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"https://gitlab.com/7stack.io/snippets/helpers.git"},"author":{"name":"Craig Lafferty craig@laffertymail.com"},"license":"WTFPL","devDependencies":{"jest":"^23.6.0"},"dependencies":{"fs-extra":"^7.0.1"},"gitHead":"6ab9e61db8e58e5eae1688f5651474db0dedc697","_id":"@7stack.io/snippets-helpers@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"craiglafferty","email":"craig@laffertymail.com"},"dist":{"integrity":"sha512-nPllyHVWrEhWoAi6qBX1yOKhq/UZfZ7OmX9Yy2qIi0/eGDg1US9Jv6CxDoWKXCuA+0AHuzgT7ZhDjXbQS0NUNg==","shasum":"ac38317167c212b89f0425df419cebfd80dfae3e","tarball":"https://registry.npmjs.org/@7stack.io/snippets-helpers/-/snippets-helpers-0.0.1.tgz","fileCount":9,"unpackedSize":3320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPoINCRA9TVsSAnZWagAAnzwP/RzdQCWuvFE1RBcDGfLU\nIPg0mCWY66NT1G+ERcR7p6xAWzaDB6s2DVBC5KZVyWbojmxhYU7fs/tDK81m\nWD7f6doExIj4MFOmlBG1dgljewpXBFSTBPq5iTQLwwUsLeEI3H6BklMn+V72\n7qzb5AJD/fLSz3ANeT5ig6ZkHKZtnrBZuj0QHKE8XEt13/NQ7fJj+2A4xm4G\nqmYhVTkq5KJkVmHXsSLaff246DoxWo+DAcXgd6YN+BfW7ggqG30rYtIfX9DS\nRLLwyHnOGp5ytaJklgW+tsestbz1ad9mRDIFY/E0uvh9g28a/aInYaUeYH4u\ncGgXI5IeA5I17760tYjPX725Ew51s/Vo/sqTju+6kz9vWTSHGEt+yPH011Yu\nWrY/oIrrGYdovKsrvsO5WMN9kULWLZd0Xpkke5oWSzYJhbIQY2waXECEWYM/\nAkYT0NGqRKn5s3ROQuGTnRyZxKhf9THXn1Ge9WF7EGXDDzeV059ApDsvhtYr\nWDymWWv6x9UeaArnRhZ5lhxnCWvE/DWmjl6bB0ZPujKkS9kvOts743E+EV3V\nqEfLDRDrQEY8bXfAPgCaaD9z396VJdjvKjLs7kz9HMSz2M8Ohrvs/+8s6rgL\n9O5ScBGZNNfbczW6BV84b2NVadySC/88xJopsi38V3l5SHX19oyo6Wyst41T\nuBkE\r\n=GL96\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRuKcLXbnW4cpH1FJLjkOj0iLPBgQsAJnHFhEcDnFbfAiEAgJxevKLEbWDHM9lQBF+Loppx/jcdnlVmdCYw1+GTi2g="}]},"maintainers":[{"name":"craiglafferty","email":"craig@laffertymail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snippets-helpers_0.0.1_1547600397264_0.27201781105038525"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-16T00:59:57.107Z","0.0.1":"2019-01-16T00:59:57.408Z","modified":"2022-04-04T10:49:32.386Z"},"maintainers":[{"name":"craiglafferty","email":"craig@laffertymail.com"}],"description":"Helpers for the 7stack snippets template engine","repository":{"type":"git","url":"https://gitlab.com/7stack.io/snippets/helpers.git"},"author":{"name":"Craig Lafferty craig@laffertymail.com"},"license":"WTFPL","readme":"# Helpers\n\nThis repo contains the helpers that will be available to use in snippets. We'll\ntake pull requests to add additional functionality as long as they're tested and\nformatted correctly.\n\nCheck out https://handlebarsjs.com/block_helpers.html\n\n## Adding a Helper\n\n> See helpers/dummy for an example helper\n\n1. Create a new directory under `./helpers` with the name of your helper. When your helper is loaded it will have the name of the directory.\n1. Create `helper.js`, `helper.test.js`, and `README.md` in your helper directory\n1. Export a function that has the same signature as a handlebars helper in `helper.js`\n1. Write at least one `jest` test in `helper.test.js` to test your helper\n1. Add required title, description, and example code in your `README.md` file\n\n### `README.md`\n\n`README.md` MUST follow the exact format in the example dummy helper since it will be used to generate docs on the site. Just copy the README and substitute the name, description, and example code. Don't change the header types/etc.\n","readmeFilename":"README.md"}