Home

Awesome

hypermorphic build status

Greenkeeper badge

An isomorphic hyperHTML & viperHTML importer, compatible with bundlers.

// ESM example (assuming bundlers/ESM loaders in place)
import {bind, wire} from 'hypermorphic';

// CommonJS example
const {bind, wire} = require('hypermorphic');

Bundlers

Please have a look at the example folder to find out how to configure your favorite bundler to load hyperHTML on the client side, fully ignoring viperHTML.

Examples

You can clone this repository, enter in the example folder, pick one of the solutions and then run npm install.

You can reach http://localhost:8080/ to see a page powered by hyperHTML on the client and viperHTML on the server.