Getting the version of a different package #
The version of any npm package is in its
package.json of all the installed packages by using
require. The basic functionality of
You need to replace the prefixed
./ path location by one or multiple
../ will move you one level up in the directory tree. E.g.