Configurable Npm.depends for a package

Is it possible to have a configurable Npm.depends for a package?

For example, I’d like to allow a user to choose a library rather than force them to use a particular library. There are a few different libraries that would work and each has its own merits.