npm module to build your own Pasty client