Package Exports
- js-data-adapter
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js-data-adapter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme

js-data-adapter
Base adapter class that all other js-data adapters extend.
Refer to the various js-data adapter repositories to see how they extend
Adapter
.
Table of contents
Quick Start
Browser-based adapter
npm i --save js-data
npm i --save-dev js-data-adapter
Node.js based adapter
npm i --save js-data js-data-adapter
Now extend the adapter:
// ES6
class MyAdapter extends Adapter {}
// Use Adapter.extend
var MyAdapter = Adapter.extend()
// Manually extend
function MyAdapter (opts) {
Adapter.call(this, opts)
}
// Setup prototype inheritance from Adapter
MyAdapter.prototype = Object.create(Adapter.prototype, {
constructor: {
value: MyAdapter,
enumerable: false,
writable: true,
configurable: true
}
})
Object.defineProperty(MyAdapter, '__super__', {
configurable: true,
value: Adapter
})
Community
Support
Contributing
License
The MIT License (MIT)
Copyright (c) 2016 js-data-adapter project authors