1. `npm i -s cleanbody` 2. Require package in your JS project. 3. Initialize a Cleanbody instance with a schema. (Examples in test.json and below.) 4. Call a created function on the instance. It will return true if valid, false if not.
This module cleans the docker headers from the log stream from a container. I never found them very useful, so I wrote this to clean them up either in bulk, or in between a piping. It's not as simple as just removing the first 8 bytes on every message
- View more