Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
h5o is an implementation of the HTML5 outline algorithm in JavaScript. Specifications:
If you like this tool, please consider a charitable donation to Ocean Voyages Institute (Project Kaisei).
npm install h5o
(as of 2015, you should not be using any other way of managing your JS dependencies)
dist/outliner.min.js
with a fallback to global HTML5Outline
or
var HTML5Outline = require('h5o')
in node or browserifyHTML5Outline(startFrom)
(you likely want startFrom
to be document.body
). Returned value is an outline object, with sections.outline.asHTML(createLinks)
to get HTML with an ordered list. If createLinks
is true
, the DOM will be amended with IDs and the list will contain links for navigationnode
or iojs
(includes npm
)npm install -g grunt-cli
npm install
in your local clone of this repoRun grunt test
jsdom
Run grunt watch
Run grunt release --bump=[patch|minor|major]
npm publish
gh-pages
hgroup
without any h1
-h6
insidegrunt start-dev
in favor a simpler grunt watch
.grunt
foldergrunt
Originally lived on Google Code, if you like archeology
FAQs
HTML5 outliner
The npm package h5o receives a total of 188 weekly downloads. As such, h5o popularity was classified as not popular.
We found that h5o demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.