3.0.10 • Published 9 months ago

@entropy/sling-connector v3.0.10

Weekly downloads
44
License
ISC
Repository
-
Last release
9 months ago

Sling Connector for Node.js

This is a simple re-usable sling connector for Node.

Usage:

var SlingConnector = require("@entropy/sling-connector");


var sc = new SlingConnector({
	baseUri: "http://127.0.0.1:4502/",
	username: "admin",
	password: "admin"
});

sc.get("/content/my-site/en/promo-page/_jcr_content",
	function(err, data){
		console.log("One thing:", data);
	});

sc.get("/content/my-site/en/offers/_jcr_content",
	function(err, data){
		console.log("Another thing:", data);
	});