Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

hypermorphic

0.9.0 • Public • Published

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.

Install

npm i hypermorphic

DownloadsWeekly Downloads

7

Version

0.9.0

License

ISC

Unpacked Size

3 kB

Total Files

4

Last publish

Collaborators

  • avatar