@bonhomme/bonnie-vacuum

BonhommeParis Agent sniffer

Usage no npm install needed!

<script type="module">
  import bonhommeBonnieVacuum from 'https://cdn.skypack.dev/@bonhomme/bonnie-vacuum';
</script>

README

Bonnie Vacuum

Usage

Basic

Basic example.

import vacuum from 'bonnie-vacuum'

vacumm.addClasses();

API

Build

To build the sources with babel in ./lib directory :

npm run build

Testing

To run the tests, first clone the repository and install its dependencies :

git clone https://github.com/bonhommeparis/bonnie-vacuum.git
cd bonnie-vacuum
npm install

Then, run the tests :

npm test

To watch (test-driven development) :

npm run test:watch

Thanks

Almost all of the original code come from Watsondg's sniffer. I just added a few more functions.