finchjs

0.5.14 • Public • Published

Finch.js

Powerfully Simple Javascript Routing

Finch.js is a whole new take on handling routes in javascript web apps. It utilizes the natural hierarchy of routes, simplified pattern matching, and powerful parameter dependencies in order to speed up and organize web apps that rely highly on interecting with the browser's url.

Installation

First, Download Finch.js

Once you've gotten the files, simply include the javascript in your html <head/>> tags.

<!doctype html>
<html>
	<head>
		<script src="./scripts/finch.min.js" type="text/javascript" language="javascript"></script>
	</head>
	<body>
		... Stuff here ...
	</body>
</html>

Since Finch is a standalone library, this is all you'll need. From here, take a look at our website for more info on how to implement Finch.

Documentation

Take a look at our website for the most up-to-date documention.

Licenese

Finch is available for sue under the MIT License

TODO List

  • Splats - Sometimes we might want an undetermined number of parameters at the end of a url, splats are useful for grabbing any number of url bindings and must be the last binding in the route pattern. Example: "/home/news/:variables..."
  • pushState - Add pushstate support ot finsh so that we don't always need to rely on the hash

/finchjs/

    Package Sidebar

    Install

    npm i finchjs

    Weekly Downloads

    0

    Version

    0.5.14

    License

    none

    Last publish

    Collaborators

    • thecaddy