NPM Package not working

Thanks @mvveiga . Could you elaborate more or is there any documentation link I can read up to do this correctly?