ts-comment
utils for comments in TypeScript/JavaScript file
Install
# using npm npm install --save ts-comment # using yarn yarn add ts-comment
Usage
; ; ts_comment.getsfile_content; //=> ['// comment 1', '/* comment 2 */']
API
/** * iterate every comment, return `false` to stop iteration */; /** * get comments from source, optional callback for custom results */;;
Development
# lint yarn run lint # build yarn run build # test yarn run test
License
MIT © Ika