1.0.0 • Published 2 years ago

@stichting-crow/laces-hub-js v1.0.0

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
2 years ago

laces-hub-js

Package to connect programmatically with Laces Hub.

Usage

const mygroup = await Laces.Group("/dir/subdir");
const info = mygroup.getInfo();
const myrepo = await Laces.Repository("/dir/subdir/repo");
myrepo.uploadFile(
  {
    name: "My File",
    versionLabel: "v1",
    versioningMode: "NONE",
  },
  Buffer.from("Hello, world!")
);

const pub = await Laces.Publication("/dir/subdir/repo/publication");
pub.sparqlSelect("select * where { ?s ?p ?o } limit 10");
1.0.0

2 years ago

0.5.6

2 years ago