Index

parari

Build Status Code Climate Code Coverage dependencies npm version Git tip

Generate parallax page from html.

   

Table of Contents

/**

  • Bud file for demo. */

"use strict";

var u = require('apeman-util'), mapping = u.mapping, reducing = u.reducing, filtering = u.filtering, path = u.core.path, fs = u.core.fs;

var demoDir = 'doc/demo';

module.exports = { mode: '444', force: true, data: { get pages() { var pages = fs.readdirSync(demoDir) .map(mapping.pathResolveMap(demoDir)) .filter(function (filename) { return fs.statSync(filename).isDirectory(); }) .map(function (dirname) { return fs.readdirSync(dirname) .filter(filtering.patternAcceptFilter(/.html$/)) .map(function (filename) { return { name: path.basename(filename, '.html'), url: path.join(path.basename(dirname), filename) } }) }) .reduce(reducing.concatReduce()); return pages; } } };

Demo

{{#each pages}}

What's this?

A slideshow generator.

Convert markdown files into html with parallax effect scrolling.

Why this?

It's fast.

parari based on HTML canvas and provides really smooth scrolling.

Demo

Requirements

Documents

Donation

Support this project and others by okunishinishi via gittip.

Support via Gittip

License

This software is released under the MIT License.

parari
tick-tack Copyright © 2014
Documentation generated by JSDoc 3.3.0-alpha9 on 2014-08-04T13:46:13+09:00 using the DocStrap template.