
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
live-template
Advanced tools
Tiny ( less than 10Kb gzipped ) Reactive Templating Engine for JS (ES6)
View :
<div id="myView">
Name: <input type="text" lt-value="myModel.name">
<div> Your name is : {{myModel.name}} </div>
<input type="button" lt-on-click="myModel.sayHi()">
</div>
Model:
let myModel = new Template.Model('myModel' , {
name: '',
sayHi : e=> alert( 'Hi '+ myModel.name )
});
Template.create('#myView')
The two way data binding automatically performed in the models,when declared, allows automatic updates in the DOM in real time.
Any change in the DOM, will be reflected also, to the model(s), when necessary.
<div lt-for-item="myModel.items" lt:index="myIndex">
<div> {{myIndex}} - {{item.name}} </div>
</div>
Performs iteration to the provided model iterable, and renders the contents of the block as many times as iterations can be eprformed. The usage of the :index directive modifier, allows to use an index key.
<div lt-if="myModel.visible" >
If you see this is because myModel.visible=true
</div>
Shows/hides the element if the model prooerty evaluates to true/false
<div lt-on-click="myModel.sayHi()" >
Click me to trigger an action!
</div>
Adds an event listener to the element with the provided callback.
<input type="text" lt-value="myModel.name">
Performs a (two way) data binding with the provded model prooerty
FAQs
HTML Templating + Automatic Model Data Binding.
We found that live-template demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.