Closed romanrostislavovich closed 6 years ago
I will say you need a function:
search(name: string, version: string[] = null): [{package, deps}]
That will return an array of objects and each of them will contain package and dependency definitions for specific package version. If concrete version was not provided, then all versions should be returned. This function should be implemented for several package managers (TBD: npm, nuget, etc.)
Anyway I suggest to split this task, for example perform search request and mapping to schemas
could be implemented in separate PRs.
Schemas for outputs:
In feature we support following package managers:
e.t.c.
If have any idea about new methods, please describe it :)
@svoboda-rabstvo Please use a separate issue for proposals.
@xferra I think we can close this issue?
As soon as issues for package managers listed above are created.
@xferra Now we supported: gem
, composer
, pip
and npm
, and we have issue for chocolatey
and nuget
Then just link corresponding issues to this one, please :)
Need to find meta-information about some package in
npm
and return it in JSON Object format.Return object must be correspond to package.json schema
The implementation should take into account:
For input methods can get:
all
by default