{"analyzedAt":"2022-07-10T08:22:25.553Z","collected":{"metadata":{"name":"elm-impfix","scope":"unscoped","version":"1.0.8","description":"Removes unused imports from Elm modules","date":"2018-07-15T07:22:07.901Z","author":{"name":"Daniel Kodaj"},"publisher":{"username":"dkodaj","email":"dkodaj@gmail.com"},"maintainers":[{"username":"dkodaj","email":"dkodaj@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/dkodaj/impfix.git"},"links":{"npm":"https://www.npmjs.com/package/elm-impfix","homepage":"https://github.com/dkodaj/impfix#readme","repository":"https://github.com/dkodaj/impfix","bugs":"https://github.com/dkodaj/impfix/issues"},"license":"MIT","dependencies":{"chalk":"^2.4.1","commander":"^2.15.1","glob":"^7.1.2","parse-filepath":"^1.0.2"},"releases":[{"from":"2022-06-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":0},{"from":"2022-04-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":1},{"from":"2022-01-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":1},{"from":"2021-07-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":1},{"from":"2020-07-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":1}],"readme":"# elm-impfix\r\n\r\n> Command-line tool to remove unused imports from Elm modules.\r\n\r\n## Install\r\n```\r\n$ npm install -g elm-impfix\r\n```\r\n\r\n## Usage\r\n\r\n```\r\n$ elm-impfix MyModule.elm -o ../build/MyModule.elm\r\n```\r\n\r\nThe use case is explained on the [Github page](https://github.com/dkodaj/impfix).\r\n\r\n## Flags\r\n### Output (optional)\r\n\r\n```\r\n$ elm-impfix MyModule.elm -o path/to/output.elm\r\n```\r\n\r\nDefaults to name_Impfix.ext (if source = name.ext). Use \"/\" in paths.\r\n\r\n### Qualifying unqualified imports (optional)\r\n```\r\n$ elm-impfix MyModule.elm -q path/to/ImportedModule.elm\r\n$ elm-impfix MyModule.elm -q \"Imported1.elm Imported2.elm\"\r\n```\r\n\r\nMakes unqualified imports explicit (\"import ImportedModule exposing (..)\" > \"import ImportedModule exposing (this, that)\").\r\n\r\n## Wildcards\r\n\r\nAll params support wildcards:\r\n\r\n```\r\n$ elm-impfix \"*.elm\"  -o \"../build/*.*\"  -q \"./Imports/*.elm\"\r\n```\r\n\r\nWildcard params must be quoted.\r\n\r\nTo overwrite all source files, use the -r (--replace) flag. To recursively overwrite all .elm files in a folder, use\r\n\r\n```\r\nelm-impfix \"folder/**/*.elm\" -r\r\n```\r\n\r\nTo exclude some files from the output wildcard, use -x (--exclude):\r\n\r\n```\r\nelm-impfix \"folder/**/*.elm\" -r -x \"folder/elm-stuff/**/*.*\"\r\n```\r\n\r\n## Bugs\r\n\r\nBug reports are welcome and likely."},"npm":{"downloads":[{"from":"2022-07-09T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":1},{"from":"2022-07-03T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":82},{"from":"2022-06-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":401},{"from":"2022-04-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":1176},{"from":"2022-01-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":2232},{"from":"2021-07-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":6650}],"starsCount":0}},"evaluation":{"quality":{"carefulness":0.33,"tests":0,"health":0,"branding":0},"popularity":{"communityInterest":0,"downloadsCount":392,"downloadsAcceleration":-2.667922374429224,"dependentsCount":0},"maintenance":{"releasesFrequency":0.28664383561643836,"commitsFrequency":0,"openIssues":0,"issuesDistribution":0}},"score":{"final":0.0639552984652296,"detail":{"quality":0.20086796360358883,"popularity":0.010556883954722736,"maintenance":0}}}