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.
backbone-hoodie
Advanced tools
##backbone-hoodie adapter
Use this adapter to keep maintain sync between your local Backbone.Collections and the local and remote hoodie datastores.
Backbone.connect() //creates a new hoodie at Backbone.hoodie
var Task = Backbone.Model.extend({
// models must have a type. maps to type in hoodie store.
type: 'task',
defaults: {
name: 'New Task'
}
});
var TaskCollection = Backbone.Collection.extend({
// if a collection has a model, the adapter will keep the collection
// up to date with all the models in the local store, as well as remote events
model: Task
})
var task = new Task({
name: 'laundry'
});
// task will be saved into the hoodie store
task.save();
var tasks = new TaskCollection();
// upon initialization, tasks will fetch() all Task models from the datastore.
// it'll find t and insert t in tasks.
task2 = new Task({
name: 'groceries'
});
task2.save();
// task2 will be saved into the hoodie store
// and will also be inserted into tasks
task.destroy();
// task will be deleted from the store
// and will be removed from tasks
FAQs
hoodie data bindings for backbone models
The npm package backbone-hoodie receives a total of 0 weekly downloads. As such, backbone-hoodie popularity was classified as not popular.
We found that backbone-hoodie demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.