github.com/alecthomas/units
Go Modulesvv0.0.0-20240927000941-0f3dac36c52bGo module: github.com/alecthomas/units
Not recommended for new projects
No — github.com/alecthomas/units should not be adopted for new projects. Depended on by 7 known packages. Last published 713 days ago. No license declared — you have no explicit right to use this code.
- CAdoption: grade C, Fair — worth a look.
Depended on by 7 known packages.
- CMaintenance: grade C, Fair — worth a look.
Last published 713 days ago.
- AWeight: grade A, Excellent.
Pulls in 3 transitive packages.
- 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/alecthomas/units 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.
Compatibility
- Go
- No constraint declared
Dependencies
Declared by github.com/alecthomas/units vv0.0.0-20240927000941-0f3dac36c52b. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Used by
Popular packages that depend on github.com/alecthomas/units.
Go module: github.com/golangci/golines
Go module: github.com/prometheus/common
Go module: github.com/yeya24/promlinter
Go module: github.com/alecthomas/kingpin/v2
Go module: github.com/alecthomas/kingpin/v2
Go module: github.com/prometheus/alertmanager
Go module: github.com/prometheus/exporter-toolkit
Relationship graph
Dependencies (left) and dependents (right) of github.com/alecthomas/units.
Frequently installed together
Go module: github.com/xhit/go-str2duration/v2
Go module: github.com/stretchr/testify
Go module: golang.org/x/sys
Go module: github.com/prometheus/procfs
Go module: github.com/pmezard/go-difflib
Go module: github.com/prometheus/client_model
Go module: github.com/prometheus/client_golang
Go module: google.golang.org/protobuf
Go module: "gopkg.in/yaml.v3"
Go module: github.com/davecgh/go-spew
Go module: github.com/cespare/xxhash/v2
Go module: github.com/beorn7/perks
Release history
No releases in the last two years.
| Version | Published | License |
|---|---|---|
| v0.0.0-20240927000941-0f3dac36c52blatest | 1 year ago | — |
Overview
github.com/alecthomas/units is an Go Modules package that go module: github.com/alecthomas/units. It has 7 known dependents in the graph. The latest version is v0.0.0-20240927000941-0f3dac36c52b.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/alecthomas/units 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 (1 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/alecthomas/units?
No — github.com/alecthomas/units should not be adopted for new projects. Depended on by 7 known packages. Last published 713 days ago. No license declared — you have no explicit right to use this code.
How do I install github.com/alecthomas/units?
Run `go get github.com/alecthomas/units` to add github.com/alecthomas/units to your Go Modules project.
How many dependencies does github.com/alecthomas/units have?
github.com/alecthomas/units declares 1 direct dependency and pulls in 3 packages in total once its runtime tree is resolved.
What license is github.com/alecthomas/units released under?
No license was detected in github.com/alecthomas/units's metadata; review the repository before use.
How popular is github.com/alecthomas/units?
Go Modules does not publish download counts. Within PackageGraph's crawl, 7 known packages depend on github.com/alecthomas/units.
Is github.com/alecthomas/units still maintained?
The most recent release of github.com/alecthomas/units (vv0.0.0-20240927000941-0f3dac36c52b) was published 1 year ago.