mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-13 08:14:46 +00:00
alias id() for Npmpackage.name()
This commit is contained in:
parent
3edfeda13a
commit
210cc0affc
@ -587,6 +587,14 @@ public class NpmPackage {
|
|||||||
return JSONUtil.str(npm, "name");
|
return JSONUtil.str(npm, "name");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* convenience method for getting the package id (which in NPM language is the same as the name)
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public String id() {
|
||||||
|
return JSONUtil.str(npm, "name");
|
||||||
|
}
|
||||||
|
|
||||||
public String date() {
|
public String date() {
|
||||||
return JSONUtil.str(npm, "date");
|
return JSONUtil.str(npm, "date");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user