
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
EYE mock solving your n3 reasoning on a server instead of client side Prolog execution
EYE mock solving your n3 reasoning on a server instead of client side Prolog execution
Install the package via NPM
npm install eye-mock
Import and use the function in your code
import { n3reasoner } from 'eye-mock';
const data = `
@prefix : <urn:example.org:> .
:Alice a :Person .
{ ?S a :Person } => { ?S a :Human } .
`;
const query = `{?S ?P ?O . } => {?S ?P ?O . } .`;
const options = { output: "derivations", outputType: "string", bnodeRelabeling: true };
const result = await n3reasoner(data, query, options);
The options parameter is optional and can be used to configure the reasoning process. The following options are available:
output: What to output with implicit queries.
none: no implicit query is passedderivations: output only new derived triples, a.k.a --pass-only-new (default)deductive_closure: output deductive closure, a.k.a --passdeductive_closure_plus_rules: output deductive closure plus rules, a.k.a --pass-allgrounded_deductive_closure_plus_rules: ground the rules and output deductive closure plus rules, a.k.a --pass-all-groundoutputType: The type of output
string: output as string (default)quads: output as array of RDF/JS QuadsbnodeRelabeling: Whether or not to perform bnodeRelabeling
true: perform bnodeRelabeling (default)false: do not perform bnodeRelabelingFAQs
EYE mock solving your n3 reasoning on a server instead of client side Prolog execution
The npm package eye-mock receives a total of 6 weekly downloads. As such, eye-mock popularity was classified as not popular.
We found that eye-mock demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.