work around bug in marked (closes #6488)
defactored npmconf back into npm