Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

h5o

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h5o

HTML5 outliner

  • 0.6.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
233
increased by14.22%
Maintainers
1
Weekly downloads
 
Created
Source

HTML5 outliner

This project originally lived on Google Code, and for the time being, the downloads still reside there: https://code.google.com/p/h5o/downloads/list

If you like this tool, please consider a charitable donation to Ocean Voyages Institute (Project Kaisei).

Real current status

Kind of trying to revive this, clean up and create myself some space for experimentation.

Chrome Extension is now split out into a separate repo: https://github.com/h5o/h5o-chrome

Build Status

Running tests locally

  • start phantomjs webdriver server: phantomjs --webdriver=4444
  • grunt test

Original README

The current (Nov, 2009) HTML5 draft defines quite a precise algorithm, for producing an outline for HTML documents. h5o is an implementation of the algorithm in JavaScript.

The goals of this project are:

  • A bookmarklet, to produce outlines in decent browsers
  • A Firebug extension, to help HTML5 development
  • A repository of HTML5 outlining test cases

Downloads

Chrome extension available Bookmarklet available (Tested in FF3.5 and O10.10 - should also work elsewhere)

  • Limited version for IE also available. See: [ProblemsWithInternetExplorer] Firebug extension is in a very early experimental state Minified JS that you can use. npm install h5o, use dist/outliner.min.js
  • HTML5Outline(startFrom) (you likely want startFrom to be document.body). Returned value is an outline object, with sections.
  • outline.asHTML(createLinks) to get a simple ordered list. If createLinks is true, the DOM will be amended with IDs and the list will contain links for navigation

FAQs

Package last updated on 05 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc