Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

SkaterDad/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyperapp-server

Travis CI Codecov npm Slack

Your favorite hyperapp framework, now rendered server-side.

Installation

# Using npm
npm install hyperapp-server hyperapp

# Using yarn
yarn add hyperapp-server

Usage

At the moment, hyperapp-server only supports static rendering. True server rendering coming soon!

import { h } from "hyperapp"
import { toString } from "hyperapp-server"

const vnode = h("div", null, "Hi.")

const html = toString(vnode)

// html = "<div>Hi.<div>"

Issues

No software is free of bugs. If you're not sure if something is a bug or not, file an issue anyway. Questions, feedback and feature requests are welcome too.

Community

License

HyperApp is MIT licensed. See LICENSE.

About

Your favorite hyperapp apps, now rendered server-side!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published