Parse NPM’s [login to view URL] into a [login to view URL] of Module objects (using our pre-supplied [login to view URL] class definition)
$30-250 USD
Paid on delivery
We have a [login to view URL] class (see attachment). We require Java code that can convert any NPM compatible “[login to view URL]” file into a [login to view URL] of these Module objects.
Three notes:
1. The Module objects you store in the top-level LinkedHashMap should correspond to the direct dependencies specified in the NPM project’s top-level [login to view URL] file. However, the specific versions of these should come from the [login to view URL] file.
2. Each Module object itself can contain an additional sub LinkedHashMap containing its own sub-dependencies (a.k.a. transitive dependencies). These are stored in the “children” field of the Module object. These should come exclusively from the [login to view URL] file (I believe there is no need to reference the [login to view URL] file for these).
3. And so on – this data definition is recursive, and so the “children” Modules can themselves contain their own “children”, and so forth.
Requirements:
- Must work with Java 8.
- We require Java code to do this parsing for us.
- We also require a collection of JUnit tests to help ensure this logic is working correctly against diverse [login to view URL] variations. We are planning future projects based on Ruby ([login to view URL]), Python ([login to view URL]), Go ([login to view URL] + [login to view URL]) and other languages that support lock-files as well, and so we would like the JUnit tests to anticipate that.
See attached [login to view URL] code that you must use in your solution.
See attached [login to view URL] that contains 3 variations of "[login to view URL]" that must be parsed. We also included the "[login to view URL]" file these lock files correspond to.
References:
Documentation on NPM's [login to view URL] format is here: [login to view URL] . (Note: solution must support both 6.x and 7.x versions of the format).
Project ID: #30454624
About the project
Awarded to:
9 freelancers are bidding on average $181 for this job
Hello, how are you? I read your project description carefully, so I can handle this job perfect Because I am a java expert and have rich experience with java Please contact me and discuss more detail about project Than More
Hey! I am an expert Python programmer. I am familiar with Python and I have a lot of work experiences in JavaScript, Node.js and Java. I can start right away. I want to discuss for this project in detail. Please send More
Hi, I am a java expert with 5 years' experience developing various java application. I have read through the project description and I understand all the requirement and deliverables for this project. I am certain I c More