Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
http-pouchdb
Advanced tools
Readme
Access remote CouchDB databases like you would access your local PouchDB
ones. Tested support for new PouchDB('name')
,
PouchDB.replicate('name', 'name')
, PouchDB.destroy('name')
and,
as a bonus, PouchDB.allDbs()
.
npm install pouchdb http-pouchdb
var PouchDB = require('pouchdb');
var HttpPouchDB = require('http-pouchdb')(PouchDB, 'http://localhost:5984');
var db = new HttpPouchdb('_users');
console.log(HttpPouchDB.isHTTPPouchDB) //-> true
// 'db' will be backed by http://localhost:5984/_users ; You can use it
// like any PouchDB database.
NodeJS package name: http-pouchdb
Browser object name: window.buildHTTPPouchDB
<script src='somewhere/pouchdb.min.js'></script>
<script src='dist/http-pouchdb.min.js'></script>
<script>
var HttpPouchDB = buildHTTPPouchDB(PouchDB, 'http://localhost:5984/test');
// use HttpPouchdb as above.
</script>
module.exports = function (PouchDB, name, opts) -> PouchDB2
name
: The base url you want to use. Needs a trailing '/'.opts
: opts.headers
and opts.auth
.PouchDB Server and its sub-packages are distributed as a monorepo.
For a full list of packages, see the GitHub source.
The Apache 2 License. See the LICENSE file for more information.
FAQs
Access remote CouchDB databases like you would access your local PouchDB ones.
The npm package http-pouchdb receives a total of 731 weekly downloads. As such, http-pouchdb popularity was classified as not popular.
We found that http-pouchdb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.