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.
@acastellon/neo4j
Advanced tools
Readme
A Simplified interface to Neo4j database using the official neo4j-driver library
saved for example as 'config.neo4j.js'
module.exports = {
NEO4J_URL: 'bolt://127.0.0.1:11002'
,NEO4J_USER: 'neo4j'
,NEO4J_PASSWORD: 'neo4j2019'
// ,NEO4J_DATABASE: '<database_name>' // available in the future in v4.0
,TRACES : true
}
const config = require('./config.neo4j.js');
const db = require('@acastellon/neo4j')(config);
execute(cypher, parameters [, options])
* @param cypher - String with the cypher sentence to be executed
* @param parameters - JSON object with the parameters to be used in substitution with the Cypher Sentence
* @param options - optional JSON object that contains the connection and the session (generated automatically if it's null)
* @return an object or List of Objects of the fields
executeAsPromise(cypher, parameters [, options])
* @param cypher - String with the cypher sentence to be executed
* @param parameters - JSON object with the parameters to be used in substitution with the Cypher Sentence
* @param options - optional JSON object that contains the connection and the session (generated automatically if it's null)
executeAsStream(cypher, parameters [, options])
* @param cypher - String with the cypher sentence to be executed
* @param parameters - JSON object with the parameters to be used in substitution with the Cypher Sentence
* @param options - optional JSON object that contains the connection and the session (generated automatically if it's null)
* @returns {Stream.Readable}
executeBatch(queries [,options]);
* @param queries - a List of objects with pair keys { cypher : '', parameters: '' } to be executed
* @param options - optional JSON object that contains the connection and the session (generated automatically if it's null)
* @returns {boolean} if the batch was executed successfully
FAQs
Neo4j persistence interface
The npm package @acastellon/neo4j receives a total of 13 weekly downloads. As such, @acastellon/neo4j popularity was classified as not popular.
We found that @acastellon/neo4j demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.