Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Write a function that takes a package.json object and a dependency name, and returns the version of that dependency. If the dependency is not found, return null. The type of dependency can either be:
dependenciesdevDependenciespeerDependencies