Architecture Decision Records for npx.
Date: 2025-01-07
Accepted
We often have to decide between writing code ourselves and using an external package. This package is meant to be distributed, and as such the size must be kept to an appropriate minimum.
We will not use dependencies, as much as possible. This does not apply to devDependencies, which we will use freely as needed.
We will need to write and test more code ourselves. We will avoid having to deal with security advisories as they are discovered in dependencies. We will keep the distributed package size small. We will be forced to evaluate whether a feature is a need or a want.