added other npm api calls to example