{"size": 269, "ext": "js", "max_stars_repo_path": "scripts/copy-scss.js", "max_stars_repo_name": "flotwig/react-tooltip", "max_stars_repo_stars_event_min_datetime": "2017-01-12T01:19:50.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-30T16:01:34.000Z", "max_issues_repo_path": "scripts/copy-scss.js", "max_issues_repo_name": "flotwig/react-tooltip", "max_issues_repo_issues_event_min_datetime": "2017-01-08T15:51:21.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-20T22:30:41.000Z", "max_forks_repo_path": "scripts/copy-scss.js", "max_forks_repo_name": "flotwig/react-tooltip", "max_forks_repo_forks_event_min_datetime": "2017-01-12T01:31:47.000Z", "max_forks_repo_forks_event_max_datetime": "2021-02-28T10:45:24.000Z"}
{"max_stars_count": 14, "max_issues_count": 46, "max_forks_count": 9, "avg_line_length": 24.4545454545, "max_line_length": 61, "alphanum_fraction": 0.6356877323}
const fs = require('fs')
const path = require('path')

module.exports = (dir) => () => {
  const from = path.join(__dirname, '..', 'src', 'main.scss')
  const to = path.join(dir, 'tooltip.scss')

  return fs.createReadStream(from)
    .pipe(fs.createWriteStream(to))
}
