Basic example.
import vacuum from 'bonnie-vacuum'
vacumm.addClasses();
To build the sources with babel
in ./lib
directory :
npm run build
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
Almost all of the original code come from Watsondg's sniffer. I just added a few more functions.