hyperapp-hash-router

0.1.0 • Public • Published

hyperapp-hash-router

NPM version Maintainability

@hyperapp/router compatible router library based on location.hash.

Demo

Installation

If your project is using npm, you can install hyperapp-hash-router package by npm command:

npm install --save hyperapp-hash-router

Distribution files

  • dist/index.js - The CommonJS version of this package. (default)
  • dist/index.mjs - The ES Modules version of this package.
  • dist/hyperapp-hash-router.js, dist/hyperapp-hash-router.min.js - The UMD version of this package. This version exports itself to window.hyperappHashRouter.

Usage

import { Link, Route, Switch, Redirect, location } from "hyperapp-hash-router"

hyperapp-hash-router is compatible with @hyperapp/router so you can use these objects as described in @hyperapp/router's README document.

Readme

Keywords

none

Package Sidebar

Install

npm i hyperapp-hash-router

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

22.4 kB

Total Files

13

Last publish

Collaborators

  • yuku-t