Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
ember-couch
Advanced tools
An ember-data
kit for Apache CouchDB. A collection of adapters to work with CouchDB documents, attachments, revisions, and the changes feed. Based off of ember-couchdb-kit by Aleksey Zatvobor.
Version 0.0.8 of this addon is tested to work with Ember 2.0.0 and Ember Data 2.0.0.
ember install ember-couch
In your adapters and serializers you must import then extend the adapter and serializer you wish to use from ember-couch. There are 3 adapters you can extend and 3 serializers you can extend. They are:
Example adapter:
import { DocumentAdapter } from 'ember-couch';
export default DocumentAdapter.extend({
host: 'localhost:5984',
db: 'boards'
});
Example serializer:
import { DocumentSerializer } from 'ember-couch';
export default DocumentSerializer.extend();
If you would like to work with the changes feed, just add this statement to the top of your route:
import { ChangesFeed } from "ember-couch";
Some notable features:
findRecord/createRecord/deleteRecord
functions;hasMany
relationship;belongsTo
and hasMany
relationships;/_changes
feeds;For other features have a look at our example app located in
tests/dummy/app
See CONTRIBUTING.md
ember-couch
source code is released under MIT-License. Check LICENSE.md for more details.
FAQs
An Ember.js adapter for Apache CouchDB
The npm package ember-couch receives a total of 1 weekly downloads. As such, ember-couch popularity was classified as not popular.
We found that ember-couch 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.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.