I am working on a project which require manipulating Excel files. I found a library for this job called Aspose.cells. it is not a free library and we should buy its licence from
A NuGet package available on nuget.org can have any license.
There is no restriction on whether the NuGet package is free, open source or commercially licensed.
You should review the license that each NuGet package has. Typically a NuGet package that does not have an open source license will require you to accept the license agreement before installing it but you should still review the license even if you are not prompted to accept one.