GitShow/sindresorhus/read-package-up
sindresorhus

read-package-up

Read the closest package.json file

by sindresorhus
Star on GitHubForknpm

JavaScript

268 stars22 forks9 contributorsQuiet · 8mo agoSince 2015v12.0.0MIT

Meet the team

See all 9 on GitHub →
sindresorhus
sindresorhus38 contributions
coreyfarrell
coreyfarrell1 contribution
BendingBender
BendingBender1 contribution
LinusU
LinusU1 contribution
dudeofawesome
dudeofawesome1 contribution
Richienb
Richienb1 contribution
SamVerschueren
SamVerschueren1 contribution
fisker
fisker1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
pauliesnug
Error from outdated `type-fest` versionClosedIssue

I'm recieveing the recursion error using TypeScript , which was fixed in the latest version of : https://github.com/sindresorhus/type-fest/pull/807, but all dependencies of read-package-up including read-pkg rely on an outdated version: Output of :

pauliesnug · 2y ago
ethaizone
Please bump read-pkg to be latest version.ClosedIssue

https://www.npmjs.com/package/read-pkg https://github.com/sindresorhus/read-pkg-up/blob/1eed68d3bc9bd36449a1c6437d9fef33435bd2ea/package.json#L53 Would you help to bump this package?

ethaizone · 3y ago
jjangga0214
fix(typing): v7.0.1 has wrong typingClosedIssue

I cannot use ESM pure versions(>=8) yet, so currently stick with v7.0.1. And it has a problem that implementation and typing are different. Its typing is the snippet below. This requires me to do import by the member. However, an error occurs, because the implementation is different. https://github.com/sindresorhus/read-pkg-up/blob/c92040fcf5f4080cf7a0668184771de52e37a10e/index.js#L6-L17 As is a function itself, I should import like the below snippet. This time, a type error occurs, which requires me to . Would you publish v7.0.2 to fix this? Thanks a lot.

jjangga0214 · 3y ago
Structured data for AI agents

Repository: sindresorhus/read-package-up. Description: Read the closest package.json file Stars: 268, Forks: 22. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v12.0.0 (8mo ago). Open PRs: 0, open issues: 0. Last activity: 8mo ago. Community health: 85%. Top contributors: sindresorhus, coreyfarrell, BendingBender, LinusU, dudeofawesome, Richienb, SamVerschueren, fisker.

·@ofershap

Replace github.com with gitshow.dev