# blazegraph

> Blazegraph JavaScript API

Latest version **0.2.0** (published 2017-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install blazegraph
pnpm add blazegraph
yarn add blazegraph
bun add blazegraph
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2017-01-19 |
| First published | 2016-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | David Hérault |
| Maintainers | cornik, dherault, eric.abouaf |

## Links

- npm: https://www.npmjs.com/package/blazegraph
- Repository: https://github.com/nelson-ai/blazegraph-js
- Homepage: https://github.com/nelson-ai/blazegraph-js#readme
- Issues: https://github.com/nelson-ai/blazegraph-js/issues
- npm.io page: https://npm.io/package/blazegraph

## Dependencies (2)

- [n3](https://npm.io/package/n3.md) ^0.9.0
- [request](https://npm.io/package/request.md) ^2.79.0

## Recent versions

- 0.2.0 (latest) — 2017-01-19
- 0.1.0 — 2016-12-08
- 0.0.2 — 2016-12-02
- 0.0.1 — 2016-12-02
- 0.0.0 — 2016-12-02

## README

# Blazegraph JavaScript API

[![npm version](https://badge.fury.io/js/blazegraph.svg)](https://www.npmjs.com/package/blazegraph)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#contributing)

[Blazegraph](https://www.blazegraph.com/) JavaScript API.

## Installation

`npm install blazegraph --save`

## Usage

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

```js
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](https://www.blazegraph.com/) is freely available under the GPLv2 open-source license.

---
_Source: https://npm.io/package/blazegraph · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
