Fixing the Internet one NPM package at a time

Problem Today I tried to write a GitHub Integration. The integration application receives commit messages from a registered repo and does some cool stuff. The messages are delivered via a webhook, registered with GitHub. To avoid parsing the messages myself, I found the package express-github-webhook by searching npms.io. The code for my server is very […]

Continue reading


Semantic release on GitLab

Imagine you got yourself a private GitLab instance and your own NPM registry. Now you can achieve automated semantic release nirvana in less than five minutes. This guide assumes that your GitLab instance runs at https://gitlab.team.com and your private NPM registry is available at https://registry.team.com/. Create a new project “foo” on GitLab, in my case […]

Continue reading


Deploying private NPM modules to Zeit

Update Zeit has just released the official way to use private NPM modules, see the announcement. Example application Authentication using NPM_TOKEN Shrink packing Bundling the server code Bundling the mock read-only file system Writing the temp file system Installing nothing Conclusion I have been playing with Zeit.co – a super quick immutable deployment environment targeted […]

Continue reading


Replacing the wheels on the running car

Despite what people might think, NPM has a huge advantage over other systems – it uses semantic versions when installing dependencies. If your module depends on another module “foo”, you have to specify which particular version or range of versions is acceptable. 12345 { “dependencies”: { “foo”: “0.1.0” }} I suppose that your project has […]

Continue reading