{"repo":"veliovgroup/Meteor-Template-helpers","free":true,"listed":false,"github":"https://github.com/veliovgroup/Meteor-Template-helpers","clone":"git clone https://github.com/veliovgroup/Meteor-Template-helpers.git","description":"Template helpers for Session, logical operations and debug","language":"JavaScript","stars":34,"topics":["meteor","meteor-package","template","templating","helpers","javascript","meteorjs"],"license":"BSD-3-Clause","category":"saas-starters-boilerplates","readme_excerpt":"Meteor Template helpers Features: - 👨‍🔬 100% tests coverage ; - 💡 Lightweight - No external dependencies, all feature helpers has only weak dependencies; - ⚖️ Compare values with conditions - {{#if compare one '===' two}} ... {{/if}} ; - 🐒 Get/set Session ( weak dependency ) - {{Session 'key' set='value'}} , {{#if Session 'key'}} ... {{/if}} ; - 🔨 Use underscore's functions ( weak dependency ) - {{#if 'isString' 'one'}} ... {{/if}} ; - 👨‍💻 Debug/log passed objects as a string to template - {{log this.someVal 'string' object=\"value\"}} . Install: Helpers Use comparison, conditional, and logical operations right in the Blaze templates. Get access to Session object ans stored values. Execute underscore package methods. And debug Blaze templating data using log helper. Comparison helpers Compare template data. Create conditional if and unless blocks. Compare two values in template Compare many to many Compare complex template data. Compare one value to many (any of.. match) Compare single value against many ( any of.. match ). log Template debugging - Log arguments into browser's console with output into template Add console=true as an argument to log values into JS-console Session Get or set session value from views via Session helper Underscore (all methods) Execute underscore methods in template Running Tests 1. Clone this package 2. In Terminal ( Console ) go to directory where package is cloned 3. Then run: Meteor/Tinytest NPM/mtest - Upload and share files using ☄️ me","default_branch":null,"files":null,"tree":[],"storefront":"/r/veliovgroup","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/veliovgroup/Meteor-Template-helpers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}