Ketting 2.0 release
Being fresh out of a job, I had some time to work on a new release of the Ketting library.
const ketting = new Ketting('https://example.org/bookmark'); const author = await ketting.follow('author'); console.log(await author.get());
for...of loops and
let instead of
A small bonus feature is the addition of the
.patch() method on resoures,
which provides a pretty rudimentary shortcut to doing
PATCH request. I kept
it extremely basic, because I wanted to figure out first how users like to use
this feature first before over-engineering it.