bucharest-gold / szero

The main goal is to show unused dependencies on Node.js modules, more specifically, to show that Foo dependency declared in package.json is not being used because there is no require('foo').
Other
17 stars 6 forks source link

style: Using a static get property for Dep class. #80

Closed helio-frota closed 7 years ago

helio-frota commented 7 years ago

Now we can use this way:

let dep = new Dep('foo', '0.0.1');

then 

dep.name
dep.version
coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.6%) to 90.634% when pulling b6f1d19f3bd7926393d8394c73154aa29398483a on helio-frota:code-review into e8b790a9f26afe1a163fac244142f6c0f5745eb0 on bucharest-gold:master.