Last 12 weeks · 0 commits
4 of 6 standards met
Repository: sindresorhus/hex-rgb. Description: Convert HEX color to RGB Stars: 133, Forks: 24. Primary language: JavaScript. Languages: JavaScript (91.4%), TypeScript (8.6%). License: MIT. Latest release: v5.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 3y ago. Community health: 85%. Top contributors: sindresorhus, Mottie, BendingBender, dated, juyeong1260, molnarmark, Richienb.
This fixes the error Package subpath './package.json' is not defined by "exports" by specifying the path to . See https://github.com/react-native-community/cli/issues/1168.
Adds cjs support with the help of that compiles the ESM module to CJS. Also added a prepublish script which removed the devDependencies from the package.json so that users who download the package don't have to install the unnecessary devDependencies. I've published this fork to hex-rgb-js because I needed the CJS support right now. If you have to merge, make sure to rename the package name to 😄