Senna.js Logo

A blazing-fast Single Page Application engine

npm install senna

Features

Senna.js is a blazing-fast single page application engine that provides several low-level APIs that allows you to build modern web-based applications with only ~8KB of JavaScript without any dependency.

Bookmarkability & SEO

Bookmarkability & SEO

When using a single page app, sending a link to a friend should get them where we were. More than that, a search engine spider should be able to index that same content.

History Navigation

Forget hashbangs (#!), by using HTML5's History API we can manipulate the user's browser session history in JavaScript using pushState, replaceState and the popstate event. That way you can use browser's back/forward buttons again.

History Navigation
UI Feedback & Transitions

UI Feedback & Transitions

When some content is requested, it indicates to the user that something is happening. You can also define different kinds of CSS animations to use during state transitions.

Cacheable Screens

Once you load a certain surface this content can be cached in memory and be retrieved later on without any additional request.

Cacheable Screens

Examples

Check out the examples below to see how Senna.js can speed up your static HTML site with few lines of code.

Email

Email Example

Enable Single Page Apps using only HTML5 data-attributes

View more
Gallery

Gallery Example

Carousel app with history support and cacheable screens

View more
Blog

Blog Example

Infinite scrolling pages done right with history support

View more

Team

Made with by these guys and a bunch of awesome contributors

Brought to you by