github.com/kr/pretty
Go Modulesvv0.3.1Go module: github.com/kr/pretty
Not recommended for new projects
No — github.com/kr/pretty should not be adopted for new projects. Depended on by 36 known packages. Last published 1472 days ago. Pulls in 25 transitive packages (at least — some of the tree is still being crawled). No license declared — you have no explicit right to use this code.
- CAdoption: grade C, Fair — worth a look.
Depended on by 36 known packages.
- FMaintenance: grade F, Failing.
Last published 1472 days ago.
- CWeight: grade C, Fair — worth a look.
Pulls in 25 transitive packages (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package lists no maintainer.
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding github.com/kr/pretty to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Compatibility
- Go
- No constraint declared
Dependencies
Declared by github.com/kr/pretty vv0.3.1. Runtime dependencies are installed with the package; dev dependencies are not.
Used by
Popular packages that depend on github.com/kr/pretty.
Go module: github.com/quic-go/quic-go
Go module: github.com/4meepo/tagalign
Go module: github.com/MirrexOne/unqueryvet
Go module: github.com/gofrs/flock
Go module: github.com/spf13/cast
Go module: mvdan.cc/gofumpt
Go module: github.com/chigopher/pathlib
Go module: github.com/sourcegraph/conc
Go module: gopkg.in/check.v1
Go module: github.com/sergi/go-diff
Go module: gopkg.in/src-d/go-billy.v4
Go module: github.com/jackc/pgx/v5
Go module: github.com/frankban/quicktest
Go module: github.com/onsi/ginkgo/v2
Go module: go.opentelemetry.io/auto/sdk
Go module: github.com/go-quicktest/qt
Go module: go.uber.org/goleak
Go module: github.com/Azure/azure-sdk-for-go/sdk/internal
Go module: github.com/gkampitakis/go-snaps
Go module: github.com/grpc-ecosystem/grpc-gateway/v2
Go module: github.com/spiffe/go-spiffe/v2
Go module: go.etcd.io/etcd/client/pkg/v3
Go module: github.com/AzureAD/microsoft-authentication-extensions-for-go/cache
Go module: github.com/envoyproxy/go-control-plane
Relationship graph
Dependencies (left) and dependents (right) of github.com/kr/pretty.
Frequently installed together
Go module: gopkg.in/check.v1
Go module: github.com/stretchr/testify
Go module: github.com/davecgh/go-spew
Go module: "gopkg.in/yaml.v3"
Go module: github.com/pmezard/go-difflib
Go module: golang.org/x/sys
Go module: github.com/rogpeppe/go-internal
Go module: golang.org/x/text
Go module: golang.org/x/sync
Go module: golang.org/x/net
Go module: github.com/google/go-cmp
Go module: "github.com/kr/text"
Release history
No releases in the last two years, typically about 605 days apart.
| Version | Published | License |
|---|---|---|
| v0.3.1latest | 4 years ago | — |
| v0.3.0 | 5 years ago | — |
| v0.2.1 | 6 years ago | — |
| v0.2.0 | 6 years ago | — |
| v0.1.0 | 8 years ago | — |
Overview
github.com/kr/pretty is an Go Modules package that go module: github.com/kr/pretty. It has 36 known dependents in the graph. The latest version is v0.3.1.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/kr/pretty and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your Go Modules stack.
Pros
- Lean dependency tree (2 direct dependencies).
Cons
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use github.com/kr/pretty?
No — github.com/kr/pretty should not be adopted for new projects. Depended on by 36 known packages. Last published 1472 days ago. Pulls in 25 transitive packages (at least — some of the tree is still being crawled). No license declared — you have no explicit right to use this code.
How do I install github.com/kr/pretty?
Run `go get github.com/kr/pretty` to add github.com/kr/pretty to your Go Modules project.
How many dependencies does github.com/kr/pretty have?
github.com/kr/pretty declares 2 direct dependencies and pulls in 25 packages in total once its runtime tree is resolved.
What license is github.com/kr/pretty released under?
No license was detected in github.com/kr/pretty's metadata; review the repository before use.
How popular is github.com/kr/pretty?
Go Modules does not publish download counts. Within PackageGraph's crawl, 36 known packages depend on github.com/kr/pretty.
Is github.com/kr/pretty still maintained?
The most recent release of github.com/kr/pretty (vv0.3.1) was published 4 years ago.