GitShow/Rich-Harris/code-red
Rich-Harris

code-red

Experimental toolkit for writing x-to-JavaScript compilers

by Rich-Harris
Star on GitHubForknpm

JavaScript

334 stars22 forks14 contributorsQuiet · 2y agoSince 2019MIT

Meet the team

See all 14 on GitHub →
Rich-Harris
Rich-Harris151 contributions
Conduitry
Conduitry25 contributions
tanhauhau
tanhauhau8 contributions
benmccann
benmccann3 contributions
kindoflew
kindoflew3 contributions
swyxio
swyxio2 contributions
arthurdenner
arthurdenner1 contribution
jasonlyu123
jasonlyu1231 contribution

Languages

View on GitHub →
JavaScript100%

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 · 4 discussions · Last activity 2y ago
See all on GitHub →
GonerGenesis
import error on function 'encode' of @jridgewell/sourcemap-codecOpenIssue

Hi, I've got a strange client (browser) side issue while trying out @jycouet 'firstly' lib. The code-red module is complaining about a missing import/export from @jridgewell/sourcemap-codec: but it is definitely there: !image I don't think it's a problem with but with some issue of the pnpm-vite-svelte build process of the lib or how the package install is handled on my site, but I'd like to have a clue about whats going on. Is there any idea? Cheers

GonerGenesis · 1y ago
Rich-Harris
remove EmptyStatement nodesOpenIssue
Rich-Harris · 2y ago
jimmywarting
Remove bufferOpenIssue

Some CDN and bundlers dose a bad job at figuring out if Buffer is optional and always import buffer just in case. even if you are not using it... https://github.com/Rich-Harris/code-red/blob/6e2a690e4303700de88abc7e6a5b75c318f9108d/src/print/index.js#L12-L16 I would prefer it if you tried to get rid of buffer and instead just used atob/btoa that's globally available in all env today. but it would require setting engine.node >= 16 in your package json

jimmywarting · 3y ago

Recent fixes

View closed PRs →
kwangure
package.json type exports need to be updatedClosedIssue

I'm having trouble using in a project using TypeScript 5 given the current exports field in the .

kwangure · 2y ago
Rich-Harris
add types to pkg.exportsMergedPR

closes #81

Rich-Harris · 2y ago
gtm-nayan
fix: inline comment in argsMergedPR
gtm-nayan · 3y ago
Structured data for AI agents

Repository: Rich-Harris/code-red. Description: Experimental toolkit for writing x-to-JavaScript compilers Stars: 334, Forks: 22. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 0, open issues: 4. Last activity: 2y ago. Community health: 42%. Top contributors: Rich-Harris, Conduitry, tanhauhau, benmccann, kindoflew, swyxio, arthurdenner, jasonlyu123, milahu, sahilmob and others.

·@ofershap

Replace github.com with gitshow.dev