Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ember-template-compiler
Advanced tools
An npm module for the ember-template-compiler.js file that ships with ember.js
An npm module for the ember-template-compiler.js file that ships with ember.js
##What can I do with this?
If you have a client build process and need to compile handlebars templates for ember.js
npm install ember-template-compiler
var compiler = require('ember-template-compiler');
var input = compiler.precompile(template['content']).toString();
var output = "Ember.TEMPLATES['" + template['name'] + "'] = Ember.Handlebars.template(" + input + ");";
##What are a few projects using this today?
Django based web apps can use this with django-compressor Pending a pull request to get a precompiler into the karma test runner
##Development
To run the tests
cd tests
./runner.sh
FAQs
An npm module for the ember-template-compiler.js file that ships with ember.js
The npm package ember-template-compiler receives a total of 1,505 weekly downloads. As such, ember-template-compiler popularity was classified as popular.
We found that ember-template-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.