octodown

Allows to place octopart links in markdown files to help with parts research

Usage no npm install needed!

<script type="module">
  import octodown from 'https://cdn.skypack.dev/octodown';
</script>

README

Octomd

This tool parses Markdownfiles and looks for links prefixed with

octopart://search/ID

These links will be arsed and looked up with the ocatapart api.

Commands

  • odown-extract - Extracts information about the parts used

Install

Important dependencies

  • markdown - Markdown Parsing
  • octopart - Lookup of Parts
  • commander - CLI
  • cheerio - HTML Parsing
npm install

In order to make the tool aware of the octapart api a API KEY must be provided as a environment variable.

exports OCTAPART_API_KEY=123abc
``
Failing to do so results in a program error