GitShow/tj/better-assert
tj

better-assert

c-style assert() for nodejs, reporting the expression string as the error message

by tj
Star on GitHubForknpm

JavaScript

288 stars22 forks8 contributorsQuiet · 7y agoSince 20111.0.2MIT

Meet the team

See all 8 on GitHub →
tj
tj12 contributions
adohe
adohe7 contributions
conradkleinespel
conradkleinespel1 contribution
devinrhode2
devinrhode21 contribution
ForbesLindesay
ForbesLindesay1 contribution
kgantsov
kgantsov1 contribution
mikaturunen
mikaturunen1 contribution
craftzdog
craftzdog1 contribution

Languages

View on GitHub →
JavaScript95.4%
Makefile4.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 3 in progress · Last activity 7y ago
See all on GitHub →
qmnl
Release new versionOpenIssue

The current version is 8 commits behind. Furthermore, the newest version of the npm package does not yet include the license (see #11).

qmnl · 5y ago
raine
does not work with babelOpenIssue

The callsite returns a line number for compiled code but it's trying to read the line from uncompiled one.

raine · 7y ago
GerHobbelt
Improved fix for #12, extends pullreq #16: fix babel support issuesOpenPR

Works for babel 7. Augments #16, fixes #12. See fork https://github.com/GerHobbelt/better-assert for tests including babel transpiled runs. The key problem was when using a modern statement in your code, which is then transpiled by babel, which replaces the calls which something like when you transpile to ES5 or similar old targets, resulting in the line regex in better-assert to crash. See also the pullreqqed code changes and commit message.

GerHobbelt · 7y ago

Recent fixes

View closed PRs →
conradkleinespel
Bump up version so package.json gets updatedMergedPR

Hello ! Could you please publish a new version so we get the updated package.json in please ? This helps with programmatically checking things like licensing for compliance checks. Best regards, Conrad

conradkleinespel · 9y ago
Structured data for AI agents

Repository: tj/better-assert. Description: c-style assert() for nodejs, reporting the expression string as the error message Stars: 288, Forks: 22. Primary language: JavaScript. Languages: JavaScript (95.4%), Makefile (4.6%). License: MIT. Latest release: 1.0.2 (11y ago). Open PRs: 3, open issues: 5. Last activity: 7y ago. Community health: 42%. Top contributors: tj, adohe, conradkleinespel, devinrhode2, ForbesLindesay, kgantsov, mikaturunen, craftzdog.

·@ofershap

Replace github.com with gitshow.dev