{"analyzedAt":"2022-07-09T14:45:03.396Z","collected":{"metadata":{"name":"gulp-tsc-optimize-imports","scope":"unscoped","version":"0.0.22","description":"Optimize Imports","keywords":["gulpplugin","typescript","gulp","tsc","import","unused","optimize"],"date":"2015-10-24T20:41:02.417Z","author":{"name":"greenarr0w","email":"philipp.hollenstein95@gmail.com","username":"greenarr0w"},"publisher":{"username":"greenarr0w","email":"philipp.hollenstein95@gmail.com"},"maintainers":[{"username":"greenarr0w","email":"philipp.hollenstein95@gmail.com"}],"contributors":[{"name":"Philipp Hollenstein","url":"https://github.com/greenarr0w"},{"name":"Francisco Ramos","url":"https://github.com/jscriptcoder"}],"repository":{"type":"git","url":"git+https://github.com/greenarr0w/gulp-tsc-optimize-imports.git"},"links":{"npm":"https://www.npmjs.com/package/gulp-tsc-optimize-imports","homepage":"https://github.com/greenarr0w/gulp-tsc-optimize-imports/","repository":"https://github.com/greenarr0w/gulp-tsc-optimize-imports","bugs":"https://github.com/greenarr0w/gulp-tsc-optimize-imports/issues"},"dependencies":{"gulp-util":"^3.0.1","through2":"~0.6.2","path":"^0.12.7"},"releases":[{"from":"2022-06-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":1},{"from":"2022-04-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":1},{"from":"2022-01-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":1},{"from":"2021-07-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":1},{"from":"2020-07-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":1}],"readme":"# gulp-tsc-optimize-imports\r\n\r\nThis Gulp Plugin logs you (detailed explanation below):\r\n* all the imports, which are not used in your typescript files\r\n* all the imports, which have not the same name\r\n* all the semicolons, which are missing\r\n\r\n## Usage\r\nFirst: Install your plugin as a development dependency:\r\n```shell\r\nnpm install --save-dev gulp-tsc-optimize-imports\r\n```\r\n\r\nSecond: Use it in your gulpfile.js:\r\n```shell\r\nvar optimizeImports = require('gulp-tsc-optimize-imports');\r\n\r\nvar typescriptFiles = 'web/**/*.ts';\r\n\r\ngulp.task('optimizeImportsTask ', function () {\r\n    return gulp.src(typescriptFiles).pipe(optimizeImports());\r\n});\r\n```\r\n\r\n## API\r\n\r\n### optimizeImports(options)\r\n\r\n#### options.unusedImports\r\nType: `boolean`\r\nDefault: `true`\r\n\r\nflag, if you want to log all the unused imports.\r\nFor Example:\r\n```shell\r\nimport MyClass = my.namespace.to.the.class.MyClass;\r\n```\r\n\r\nExplanation:\r\nThe import of `MyClass` is never used in this File.\r\n\r\n\r\n\r\n#### options.importNames\r\nType: `boolean`\r\nDefault: `true`\r\n\r\nflag, if you want to log your import name differencies.\r\nFor Example:\r\n```shell\r\nimport MyClass = my.namespace.to.the.class.YourClass;\r\n```\r\n\r\nExplanation:\r\n`MyClass` and `YourClass` are different names.\r\n\r\n\r\n\r\n#### options.semicolons\r\nType: `boolean`\r\nDefault: `true`\r\n\r\nflag, if you want to log your missing semicolons in the import statements\r\nFor Example:\r\n```shell\r\nimport MyClass = my.namespace.to.the.class.MyClass\r\n```\r\n\r\nExplanation:\r\nThere is no semicolon at the end of the line."},"npm":{"downloads":[{"from":"2022-07-08T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":0},{"from":"2022-07-02T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":1},{"from":"2022-06-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":30},{"from":"2022-04-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":188},{"from":"2022-01-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":275},{"from":"2021-07-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":533}],"starsCount":1},"github":{"starsCount":3,"forksCount":2,"subscribersCount":2,"issues":{"count":3,"openCount":1,"distribution":{"3600":1,"10800":1,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":0,"212576400":1},"isDisabled":false},"contributors":[{"username":"greenarr0w","commitsCount":26},{"username":"sushicutta","commitsCount":1}],"commits":[{"from":"2022-07-02T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":0},{"from":"2022-06-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":0},{"from":"2022-04-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":0},{"from":"2022-01-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":0},{"from":"2021-07-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":1450,"testsSize":0},"outdatedDependencies":{"through2":{"required":"~0.6.2","stable":"4.0.2","latest":"4.0.2"}}}},"evaluation":{"quality":{"carefulness":0.19,"tests":0,"health":0.75,"branding":0},"popularity":{"communityInterest":10,"downloadsCount":62.666666666666664,"downloadsAcceleration":-0.0981925418569255,"dependentsCount":0},"maintenance":{"releasesFrequency":0.7591609589041095,"commitsFrequency":0,"openIssues":0.7777777777777778,"issuesDistribution":0}},"score":{"final":0.28405991859003116,"detail":{"quality":0.3121908904654268,"popularity":0.04513517492671251,"maintenance":0.4988724006458679}}}