jsdoc-spec
Run tests from comments in JavaScript/Typescript code
@linus/testy
No fuss doctests for Node.js - test your @examples
hoohoo
Checks JavaScript/TypeScript examples in your Markdown document. It can also test the output of examples against assertions written in examples' comments.