# Backbone.localStorage
**Repository Path**: mirrors_buger/Backbone.localStorage
## Basic Information
- **Project Name**: Backbone.localStorage
- **Description**: A localStorage adapter for Backbone.js
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-24
- **Last Updated**: 2026-01-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Backbone localStorage Adapter v1.0
Quite simply a localStorage adapter for Backbone. It's a drop-in replacement for Backbone.Sync() to handle saving to a localStorage database.
## Usage
Include Backbone.localStorage after having included Backbone.js:
Create your collections like so:
window.SomeCollection = Backbone.Collection.extend({
localStorage: new Store("SomeCollection"), // Unique name within your app.
// ... everything else is normal.
});
Feel free to use Backbone as you usually would, this is a drop-in replacement.
## Credits
Thanks to [Mark Woodall](https://github.com/llad) for the QUnit tests.