vanrose

0.1.0 • Public • Published

Vanrose

Van Helsing used to put Wild Roses on coffins to immobilize vampires. Now, the times have changed. Put Vanrose on hunted docs objects, to empower them.

Supplementary tool for Vandoc.

  • Accepts Vandoc result object
  • Provides handy methods to work with object

So far it is only initial draft.

Methods

const v = vanrose(vandocData, { cwd: '/source' })
  • v.filterLanguage('languageName') — returns entries only for specified language.
  • v.toc() — returns Object with Table of Content based on inner values with appropriate links for each entry, taking into account cwd.
  • v.href(':module/path') — creates proper href from Namepath which can be used for anchors.

Readme

Keywords

none

Package Sidebar

Install

npm i vanrose

Weekly Downloads

2

Version

0.1.0

License

none

Last publish

Collaborators

  • armordarks