linterhub / registry

Registry provides an interface for obtaining information about packages from various package managers
MIT License
1 stars 3 forks source link

Return custom repository with dependency #15

Open ghost opened 6 years ago

ghost commented 6 years ago

Add ability to return custom repository in dependency object.

We can save custom repository url (host.com in example) as additional prefix in properties or even create new property for this.

{
   registry: "npm#host.com",
   package: "host.com#packagename",
   host: "host.com",
   version?: "1.0.0"
}