Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.88 KB

README.md

File metadata and controls

57 lines (33 loc) · 1.88 KB

Neighbor Parser

Build Status

CDP and LLDP Neighbor Parser

Instructions for use exist on hosted web app


Contribute

This project is very new and has been created out of need. If you have a feature you would like to see built into it, or find a bug which should be fixed, please open up an issue in Github and describe your desired feature. Make sure to include neighbor data command output so any issues can be reproduced.

If you find a need for a feature and you add it in yourself, or you fix a bug you found, please feel free to open up a merge request!

If neither of those options work for you, and you just want to support this project, you can buy me a coffee 😁

Buy Me A Coffee


Development Set Up

  • Install NodeJS
  • Clone repo and nav to neighbor-parser/
  • Install dependencies with npm install --include=dev
  • Install C8 globally with npm install c8 -g
  • Serve website with npx webpack serve --mode=development
    • Browse to http://localhost:8080/
    • JS exceptions should resolve to real file paths and errors should be helpful

Development Cycle

  • Run tests with npm test
  • Lint with npx eslint src/
  • Check for 100% code coverage: c8 --100 npm test
  • Generate coverage report: c8 report --reporter html

Release Checklist

  • Bump version (index.html and package.json)
  • Run tests and lint
  • Compile to bundle: npx webpack
  • Commit and push
  • Update Wiki with new version info