
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@neo4j-labs/experimental-query-api-wrapper
Advanced tools
Experimental wrapper library to access Neo4j Database using Query API with a neo4j-driver-like interface.
⚠️ WARNING
This is an experiment which should not be used in production environments. Use in your own risk.
Experimental wrapper library to access Neo4j Query API using a neo4j-driver-like interface.
Requirements:
Node >= 18
Neo4j >= 5.23
Installation:
$ npm i @neo4j-labs/experimental-query-api-wrapper --save
Usage:
example.js
import neo4j from '@neo4j-labs/experimental-query-api-wrapper'
const wrapper = neo4j.wrapper('http://localhost:7474', neo4j.auth.basic('neo4j', 'password'))
const session = wrapper.session({ database: 'neo4j', defaultAccessMode: 'READ' })
try {
const { records, summary } = await session.run('MATCH (p:Person) RETURN p')
for (const record of records) {
console.log('Person', record.get('p').properties)
}
console.log('Summary', summary)
} finally {
await session.close()
await wrapper.close()
}
FAQs
Experimental wrapper library to access Neo4j Database using Query API with a neo4j-driver-like interface.
The npm package @neo4j-labs/experimental-query-api-wrapper receives a total of 5,925 weekly downloads. As such, @neo4j-labs/experimental-query-api-wrapper popularity was classified as popular.
We found that @neo4j-labs/experimental-query-api-wrapper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.