npm.io
1.0.0 • Published 11 years ago

overview-interactive

Licence
ISC
Version
1.0.0
Deps
1
Vulns
0
Weekly
0

overview-interactive

this is a concise ES6 project for fetching an OVERVIEW file and rendering an intuitive interface for it in the browser.

basically, in addition to a sweet project overview living inside your project as a text file, this can bring that file to life in your docs.

npm install overview-interactive

minimal example

<html>
  <h1> overview-interactive demo </h1>
  <div id="demo-here"></div>
  <script src="overview-interactive.js"></script>
  <script>
    var overviewFileURL = 'https://raw.githubusercontent.com' +
                 '/atstp/overview-interactive/master/OVERVIEW';
    overview(overviewFileURL, proj => proj.into('#demo-here'));
  </script>