skira-core
v0.7.9
Published
Wrapper around Skira sites for full initialization, url resolving and request processing.
Downloads
10
Readme
skira-core
Wrapper around Skira sites for full initialization, url resolving and request processing.
Status
Skira is still in active development. We are working towards a final release ASAP (1.0.0) and will then keep the API stable.
Example
const Site = require("skira-core")
var siteData = require(process.cwd() + "/build/site")
var site = new Site(siteData)
var scope = site.resolve("/")
site.process(scope).then((scope) => {
console.log(scope.content)
})
License
MIT