New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blazegraph

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blazegraph

Blazegraph JavaScript API

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Blazegraph JavaScript API

npm version PRs Welcome

Blazegraph JavaScript API.

Installation

npm install blazegraph --save

Usage

Many (undocumented yet) methods are available. Have a look at the source for more info.

const db = require('blazegraph')({
  host: 'localhost',
  port: 9999,
  namespace: 'kb', // Those are the default values, passing no params yields the same result
});

db.readQuads({
  predicate: '<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>',
  object: '<http://example.com/Person>',
})
.then(quads => {
  console.log(quads); // An array of objects of the shape { subject, predicate, object, graph }
});

Note

Unstable, do not use in production! The current API is quite specific to Nelson, but feel free to PR breaking changes to make it universal.

Contributing

Yes, thank you. Please lint, update/write tests and add your name to the package.json file before you PR.

License

Blazegraph-js is released under the MIT license.

Blazegraph is freely available under the GPLv2 open-source license.

FAQs

Package last updated on 19 Jan 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc