
Research
/Security News
Laravel Lang Compromised with RCE Backdoor Across 700+ Versions
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.
@existdb/node-exist
Advanced tools
Mostly a shallow wrapper for eXist's XML-RPC API. Attempts to translate terminologies into node world. Uses promises.
This software is in very early development stage and may not be ready for production! Think twice before your data is lost.
Use at your own risk.
npm install node-exist
var exist = require('node-exist')
var db = exist.connect()
db.collections.create('/test')
.then(function (result) {
console.log('create returned with:', result)
return db.collections.describe('/test')
})
.then(function (result) {
console.log('collection description:', result)
return db.collections.remove('/test')
})
.then(function (result) {
console.log('tmp removed', result)
})
.catch(function (e) {
console.log('fail', e)
})
The methods are grouped into components by what they operate on. Every method returns a promise.
Status: working
db.queries.execute(query, options)
db.queries.read(query, options)
This convenience function calls queries.count then retrieves all result pages and returns them in an array.
db.queries.readAll(query, options)
.then(function (result) {
console.log(result.pages[0].toString())
})
db.queries.count(resultHandle)
db.queries.retrieveResult(resultHandle, page)
db.queries.retrieveAll(resultHandle)
free result on server
db.queries.releaseResult(resultHandle)
A document can be seen as a file. It might be indexed if it's type is not binary.
db.documents.upload(new Buffer('test'))
db.documents.parseLocal(fileHandle, 'foo/test.txt', {})
db.documents.read('foo.xml')
db.documents.remove('foo.xml')
Status: working
A resource is identified by its path in the database. Documents and collections are resources.
db.resources.describe(resourcePath)
db.resources.setPermissions(resourcePath, 400)
db.resources.getPermissions(resourcePath)
Status: working
db.collections.create(collectionPath)
db.collections.remove(collectionPath)
db.collections.describe(collectionPath)
db.collections.read(collectionPath)
Status: TODO
Status: failing
db.users.byName(username)
db.users.list()
Status: working
db.server.syncToDisk()
db.server.shutdown()
Note: There is no way to bring it up again.
All tests are in spec/tests and written for tape
npm test
FAQs
promise based interaction with eXist DB's XML-RPC API
The npm package @existdb/node-exist receives a total of 663 weekly downloads. As such, @existdb/node-exist popularity was classified as not popular.
We found that @existdb/node-exist demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.

Security News
Socket found a malicious postinstall hook across 700+ GitHub repos, including PHP packages on Packagist and Node.js project repositories.

Security News
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain