Lab 9 — DPS909

Url tester release

This week we had to work on releasing our URL checker. As I wrote my tool in Node.js I selected to use the npm registry to publish my package.

In order to publish the package to npm we need to have the following:

  • package.json file — must include tool name and version number
  • README file

In order to publish we need to register first and create a user profile.

To publish the package is require 2 simple steps:

  1. log in to account ( npm login) → provide credentials
  2. register the package → npm publish

published package → urltest-2.

--

--