@grafeo-db/js 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # @grafeo-db/js
2
+
3
+ Node.js/TypeScript bindings for [Grafeo](https://grafeo.dev) - a high-performance, pure-Rust, embeddable graph database.
4
+
5
+ ## Status
6
+
7
+ **Pre-alpha** - The Node.js bindings are under development.
8
+
9
+ For production use, please use the [Python bindings](https://pypi.org/project/grafeo/) which are fully functional.
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ npm install @grafeo-db/js
15
+ ```
16
+
17
+ ## Planned Features
18
+
19
+ - Native Node.js bindings via napi-rs
20
+ - Full TypeScript type definitions
21
+ - Support for GQL, Cypher, SPARQL, and GraphQL query languages
22
+ - Zero-copy data transfer where possible
23
+ - Async/await API
24
+
25
+ ## Links
26
+
27
+ - [Documentation](https://grafeo.dev)
28
+ - [GitHub](https://github.com/GrafeoDB/grafeo)
29
+ - [Python Package](https://pypi.org/project/grafeo/)
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ // grafeo-js - Node.js/TypeScript bindings for Grafeo
2
+ // Pre-alpha - bindings are under development.
3
+ // See https://grafeo.dev for current status.
4
+
5
+ export {};
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ throw new Error(
2
+ 'grafeo-js is pre-alpha and not yet implemented. ' +
3
+ 'Please see https://grafeo.dev for the current status. ' +
4
+ 'For production use, consider the Python bindings: https://pypi.org/project/grafeo/'
5
+ );
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@grafeo-db/js",
3
+ "version": "0.1.4",
4
+ "description": "Node.js/TypeScript bindings for Grafeo - a high-performance embeddable graph database",
5
+ "keywords": [
6
+ "graph",
7
+ "database",
8
+ "gql",
9
+ "cypher",
10
+ "sparql",
11
+ "knowledge-graph",
12
+ "native",
13
+ "napi"
14
+ ],
15
+ "author": "StevenBtw",
16
+ "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/GrafeoDB/grafeo.git",
20
+ "directory": "crates/bindings/js"
21
+ },
22
+ "homepage": "https://grafeo.dev",
23
+ "bugs": {
24
+ "url": "https://github.com/GrafeoDB/grafeo/issues"
25
+ },
26
+ "main": "index.js",
27
+ "types": "index.d.ts",
28
+ "engines": {
29
+ "node": ">=18"
30
+ }
31
+ }