Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
cypher-talker
Advanced tools
Simple ES6/7-oriented lib to work with neo4j and (in future) with OpenCypher-compatible databases
this software is early alpha stage and is not supposed to be used in production
Intended to be used as backing layer for other libraries
console.log(Cypher.tag`test: ${'testVar'}`.getRawQuery())
// => {query: 'test: {v0}', params: {v0: 'testVar'}}
and embedded requests:
const req = Cypher.tag`test2: ${`testVar`}`
console.log(Cypher.tag`test${req}`.getRawQuery())
// => {query: 'test: test2: {v0_0}', params: {v0_0: 'testVar'}}
Utility helpers:
//Cypher.raw:
Cypher.tag`CREATE (entry:${Cypher.raw(label)})`
//cypher.literal - iterates over object so it can be used for props:
Cypher.tag`MATCH (target ${Cypher.literal(props)})`
export class Connection {
constructor(/*neo4j arguments for now*/)
}
export class Cypher {
static defaultPrefix: string = 'v'
static raw(string): Cypher.Raw
static tag(Array<string>, ...Array<any>): Cypher // used as string tag
static literal(Object): Cypher
getRawQuery(): {query: string, params: Object}
}
FAQs
Tag strings for neo4j. Write neo4j queries in a natural way
The npm package cypher-talker receives a total of 2 weekly downloads. As such, cypher-talker popularity was classified as not popular.
We found that cypher-talker 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.