GitShow/tj/node-comment-macros
tj

node-comment-macros

JavaScript comment macros useful for injecting logging, tracing, debugging, or stats related code.

by tj
Star on GitHubForknpm

JavaScript

124 stars9 forks3 contributorsQuiet · 4y agoSince 2014

Meet the team

See all 3 on GitHub →
tj
tj9 contributions
LinusU
LinusU5 contributions
youbbi
youbbi1 contribution

Recent PRs & issues

Quiet · 3 discussions · Last activity 4y ago
See all on GitHub →
JamieSlome
Trying to get in touch regarding a security issueOpenIssue

Hey there! I'd like to report a security issue but cannot find contact instructions on your repository. If not a hassle, might you kindly add a file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future. Thank you for your consideration, and I look forward to hearing from you! (cc @huntr-helper)

JamieSlome · 4y ago
dylang
ability to not require a prefixOpenIssue

It would be helpful to allow no prefix to debug something that has comments but was created without knowledge of this system.

dylang · 12y ago
dylang
__filename, __dirname, line numberOpenIssue

This would be helpful to do browser -style logging with the original filename and line numbers.

dylang · 12y ago

Recent fixes

View closed PRs →
youbbi
Fix issue where macros would be skipped when tab indentation is usedMergedPR

Some legacy projects are using tab indentation, and the current regex to process macros does not match whitespace with tabs, only spaces.

youbbi · 10y ago
LinusU
readme: time and timeEnd must receive same argMergedPR
LinusU · 10y ago
dylang
name `re` variables with the purpose, not the typeClosedIssue

It's obviously a regular expression, so the name is not helpful, but I have no idea what the goal of this regex is, making it difficult to grok the code and make improvements. A better name would be something descriptive, such as (I'm also a fan of all caps constants, but less important for grokking the code.)

dylang · 12y ago
Structured data for AI agents

Repository: tj/node-comment-macros. Description: JavaScript comment macros useful for injecting logging, tracing, debugging, or stats related code. Stars: 124, Forks: 9. Primary language: JavaScript. Open PRs: 0, open issues: 3. Last activity: 4y ago. Top contributors: tj, LinusU, youbbi.

·@ofershap

Replace github.com with gitshow.dev