New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ember-template-assert

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-template-assert

Small addon that makes Ember's assert utility available as a template helper.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

ember-template-assert

Small addon that makes Ember's assert utility available as a template helper. Completely removed from production builds.

Compatibility

  • Ember.js v3.28 or above
  • Ember CLI v3.28 or above
  • Node.js v14 or above

Installation

ember install ember-template-assert

Usage

Usage is identical to the assert utility provided by Ember. See: https://api.emberjs.com/ember/release/functions/@ember%2Fdebug/assert for comprehensive documentation.

// template.hbs
{{assert "myVariable needs to be truthy" this.myVariable}}

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

ember-addon

FAQs

Package last updated on 17 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts