npm library example