allow string in npm resource container