TypeScript (Deno) 1,420 FILES 4 FINDINGS

HOW DENO STD
ACTUALLY WORKS

The Deno standard library — high quality, reviewed, and maintained modules. Conventions, patterns, and architecture extracted from the denoland/std repository by sourcebook.

QUICK_REF:
Testing: Deno test Exports: Named exports only

WHAT_MATTERS

  • Project strongly prefers named exports over default exports. Use export function / export const.

KEY_FINDINGS

Project strongly prefers named exports over default exports. Use export function / export const.

HIGH

Hub files: expect/expect.ts (imported by 46 files), semver/types.ts (imported by 33 files). Changes here have widest blast radius.

HIGH

Tests use Deno test. Test utilities in: testing/_test_helpers.ts.

HIGH
+ 1 MORE FINDINGS (MEDIUM CONFIDENCE)

Project uses custom error classes. Throw specific error types instead of generic Error.

MED
GENERATED IN ~3 SECONDS WITH

npx sourcebook init

VIEW ON GITHUB star

FROM_THE_BLOG

RELATED_REPOS