skira-core

Wrapper around Skira sites for full initialization, url resolving and request processing.

Usage no npm install needed!

<script type="module">
  import skiraCore from 'https://cdn.skypack.dev/skira-core';
</script>

README

skira-core

Wrapper around Skira sites for full initialization, url resolving and request processing.

Build Status Dependency Status devDependency Status Chat

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