Yet another license selector. This can be used like this:
npx use-license MIT # an SPDX identifier
or without an argument to select a license from SPDX. This will then write the selected or specifies license to ./LICENSE
.
I wrote this because I thought the prior art is too complicated and also need more upkeep than really is necessary. This package fetches directly from SPDX's license list data, instead of using the sindresorhus/spdx-license-list package. My guess is that that package exists perhaps to make SPDX's license list easier to access.
This package doesn't fill in templates. It basically automates the process of going to https://spdx.org/licenses/ yourself in a browser to copy a license's text. I think that's the most time consuming part, where as filling in the license template can just be done in an editor.