http-party / http-server

a simple zero-configuration command-line http server
MIT License
13.42k stars 1.48k forks source link

Switch from colors to chalk #785

Closed zbynek closed 2 years ago

zbynek commented 2 years ago

Alternative to #783 -- instead of locking the last version of colors, use chalk: same size, same syntax, more widespread (hopefully more stable). Currently use version 4 so that it can be required rather than imported. Switch to ESM can be done in later PR.

Contributor checklist
Maintainer checklist
Soni96pl commented 2 years ago

Thanks for this change @zbynek For anyone in need of http-server meanwhile can run code from this branch with: npx git+ssh://git@github.com:zbynek/http-server.git#685f3c8474f99480e03be5897e4902ee32ce818d