Mohammed Samir
Mohammed Samir

Reputation: 416

README is deformed in npmjs but appears in github

The readme file is represented as a binary file in npmjs.com but not in github.com

screeshot:

enter image description here

Url to the package

Upvotes: 0

Views: 112

Answers (1)

Chris
Chris

Reputation: 137109

Your README.md is encoded as little-endian UTF-16, with mixed line endings:

$ file README.md 
README.md: Little-endian UTF-16 Unicode text, with very long lines, with CRLF, CR line terminators

UTF-16 is fairly uncommon these days; UTF-8 has largely replaced it. Consider re-encoding your file as UTF-8, normalizing your line endings, and re-publishing.

Upvotes: 2

Related Questions