{"_id":"tsgen","_rev":"194792","name":"tsgen","description":"Convert flow types to typescript types, automatically","dist-tags":{"latest":"1.3.0"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"time":{"modified":"2021-06-03T12:28:13.000Z","created":"2017-07-03T01:55:06.878Z","1.3.0":"2018-03-26T16:34:23.636Z","1.2.0":"2018-02-20T18:34:52.269Z","1.1.2":"2018-02-11T16:09:36.564Z","1.1.1":"2018-02-09T18:08:54.605Z","1.1.0":"2018-02-09T18:04:38.484Z","1.0.1":"2018-02-09T17:38:08.979Z","1.0.0":"2017-07-03T01:55:06.878Z"},"users":{},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/tsgen.git"},"versions":{"1.3.0":{"name":"tsgen","version":"1.3.0","main":"lib/index.js","types":"lib/index.d.ts","description":"Convert flow types to typescript types, automatically","keywords":[],"files":["lib/"],"bin":{"tsgen":"./lib/cli.js"},"dependencies":{"@types/babel-code-frame":"*","@types/babel-types":"*","@types/babylon":"*","@types/micromatch":"*","babel-code-frame":"^6.22.0","babel-types":"^6.25.0","babylon":"^6.17.4","lsr":"^2.0.0","micromatch":"^3.0.3","prettier":"^1.5.2"},"devDependencies":{"@types/jest":"*","babel-cli":"*","babel-jest":"*","babel-preset-forbeslindesay":"*","eslint":"*","eslint-config-forbeslindesay":"*","flowgen2":"*","husky":"*","jest":"*","lint-staged":"*","ts-jest":"*","typescript":"*"},"scripts":{"precommit":"lint-staged","prepublish":"npm run build","prettier":"prettier --write \"src/**/*.ts\"","prettier:check":"prettier --list-different \"src/**/*.ts\"","build":"tsc","test":"jest ./src --coverage","watch":"jest ./src --watch"},"lint-staged":{"*.ts":["prettier --write","git add"]},"jest":{"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js"],"transform":{"\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|tsx|js)"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/tsgen.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"8fc2835d8c4b7e317fbc04e790be042b7f08b484","bugs":{"url":"https://github.com/ForbesLindesay/tsgen/issues"},"homepage":"https://github.com/ForbesLindesay/tsgen#readme","_id":"tsgen@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"2b4a9a23d7619816a191bc236b4d88dd467221e3","size":15227,"noattachment":false,"key":"/tsgen/-/tsgen-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tsgen/download/tsgen-1.3.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsgen_1.3.0_1522082063450_0.5583496425139229"},"_hasShrinkwrap":false,"publish_time":1522082063636,"_cnpm_publish_time":1522082063636},"1.2.0":{"name":"tsgen","version":"1.2.0","main":"lib/index.js","types":"lib/index.d.ts","description":"Convert flow types to typescript types, automatically","keywords":[],"files":["lib/"],"bin":{"tsgen":"./lib/cli.js"},"dependencies":{"@types/babel-code-frame":"*","@types/babel-types":"*","@types/babylon":"*","@types/micromatch":"*","babel-code-frame":"^6.22.0","babel-types":"^6.25.0","babylon":"^6.17.4","lsr":"^2.0.0","micromatch":"^3.0.3","prettier":"^1.5.2"},"devDependencies":{"@types/jest":"*","babel-cli":"*","babel-jest":"*","babel-preset-forbeslindesay":"*","eslint":"*","eslint-config-forbeslindesay":"*","flowgen2":"*","husky":"*","jest":"*","lint-staged":"*","ts-jest":"*","typescript":"*"},"scripts":{"precommit":"lint-staged","prepublish":"npm run build","prettier":"prettier --write \"src/**/*.ts\"","prettier:check":"prettier --list-different \"src/**/*.ts\"","build":"tsc","test":"jest ./src --coverage","watch":"jest ./src --watch"},"lint-staged":{"*.ts":["prettier --write","git add"]},"jest":{"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js"],"transform":{"\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|tsx|js)"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/tsgen.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"569833de3a876d3f50d347601ec1502053a55793","bugs":{"url":"https://github.com/ForbesLindesay/tsgen/issues"},"homepage":"https://github.com/ForbesLindesay/tsgen#readme","_id":"tsgen@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"7ef197c94ed85d0228605484465a2fdcf4b8f6f3","size":13689,"noattachment":false,"key":"/tsgen/-/tsgen-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tsgen/download/tsgen-1.2.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsgen_1.2.0_1519151692182_0.07814598089692004"},"_hasShrinkwrap":false,"publish_time":1519151692269,"_cnpm_publish_time":1519151692269},"1.1.2":{"name":"tsgen","version":"1.1.2","main":"lib/index.js","types":"lib/index.d.ts","description":"Convert flow types to typescript types, automatically","keywords":[],"files":["lib/"],"bin":{"tsgen":"./lib/cli.js"},"dependencies":{"@types/babel-code-frame":"^6.20.1","@types/babel-types":"^6.7.16","@types/babylon":"^6.16.1","@types/micromatch":"^2.3.29","babel-code-frame":"^6.22.0","babel-types":"^6.25.0","babylon":"^6.17.4","lsr":"^2.0.0","micromatch":"^3.0.3","prettier":"^1.5.2"},"devDependencies":{"@types/jest":"*","babel-cli":"*","babel-jest":"*","babel-preset-forbeslindesay":"*","eslint":"*","eslint-config-forbeslindesay":"*","flowgen2":"*","husky":"*","jest":"*","lint-staged":"*","ts-jest":"*","typescript":"*"},"scripts":{"precommit":"lint-staged","prepublish":"npm run build","prettier":"prettier --write \"src/**/*.ts\"","prettier:check":"prettier --list-different \"src/**/*.ts\"","build":"tsc","test":"jest ./src --coverage","watch":"jest ./src --watch"},"lint-staged":{"*.ts":["prettier --write","git add"]},"jest":{"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js"],"transform":{"\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|tsx|js)"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/tsgen.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"0c7367806ed6a8c608675e57a70b96d96c1b971d","bugs":{"url":"https://github.com/ForbesLindesay/tsgen/issues"},"homepage":"https://github.com/ForbesLindesay/tsgen#readme","_id":"tsgen@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"f2cc96d4779ce54ee27d3e8c6349e6135d140088","size":11904,"noattachment":false,"key":"/tsgen/-/tsgen-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/tsgen/download/tsgen-1.1.2.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsgen_1.1.2_1518365375868_0.1614178223738305"},"_hasShrinkwrap":false,"publish_time":1518365376564,"_cnpm_publish_time":1518365376564},"1.1.1":{"name":"tsgen","version":"1.1.1","main":"lib/index.js","types":"lib/index.d.ts","description":"Convert flow types to typescript types, automatically","keywords":[],"files":["lib/"],"bin":{"tsgen":"./lib/cli.js"},"dependencies":{"@types/babel-code-frame":"^6.20.1","@types/babel-types":"^6.7.16","@types/babylon":"^6.16.1","@types/micromatch":"^2.3.29","babel-code-frame":"^6.22.0","babel-types":"^6.25.0","babylon":"^6.17.4","lsr":"^2.0.0","micromatch":"^3.0.3","prettier":"^1.5.2"},"devDependencies":{"@types/jest":"*","babel-cli":"*","babel-jest":"*","babel-preset-forbeslindesay":"*","eslint":"*","eslint-config-forbeslindesay":"*","flowgen2":"*","husky":"*","jest":"*","lint-staged":"*","ts-jest":"*","typescript":"*"},"scripts":{"precommit":"lint-staged","prepublish":"npm run build","prettier":"prettier --write \"src/**/*.ts\"","prettier:check":"prettier --list-different \"src/**/*.ts\"","build":"tsc","test":"jest ./src --coverage","watch":"jest ./src --watch"},"lint-staged":{"*.ts":["prettier --write","git add"]},"jest":{"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js"],"transform":{"\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|tsx|js)"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/tsgen.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"d53a4bc001f04ba69437abc42ab3879e6bc48f7a","bugs":{"url":"https://github.com/ForbesLindesay/tsgen/issues"},"homepage":"https://github.com/ForbesLindesay/tsgen#readme","_id":"tsgen@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"60f49e6d14188055dc346cbe8b358eaf79b6f9b2","size":11665,"noattachment":false,"key":"/tsgen/-/tsgen-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/tsgen/download/tsgen-1.1.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsgen_1.1.1_1518199733894_0.9615982749788503"},"_hasShrinkwrap":false,"publish_time":1518199734605,"_cnpm_publish_time":1518199734605},"1.1.0":{"name":"tsgen","version":"1.1.0","main":"lib/index.js","types":"lib/index.d.ts","description":"Convert flow types to typescript types, automatically","keywords":[],"files":["lib/"],"bin":{"tsgen":"./lib/cli.js"},"dependencies":{"@types/babel-code-frame":"^6.20.1","@types/babel-types":"^6.7.16","@types/babylon":"^6.16.1","@types/micromatch":"^2.3.29","babel-code-frame":"^6.22.0","babel-types":"^6.25.0","babylon":"^6.17.4","lsr":"^2.0.0","micromatch":"^3.0.3","prettier":"^1.5.2"},"devDependencies":{"@types/jest":"*","babel-cli":"*","babel-jest":"*","babel-preset-forbeslindesay":"*","eslint":"*","eslint-config-forbeslindesay":"*","flowgen2":"*","husky":"*","jest":"*","lint-staged":"*","ts-jest":"*","typescript":"*"},"scripts":{"precommit":"lint-staged","prepublish":"npm run build","prettier":"prettier --write \"src/**/*.ts\"","prettier:check":"prettier --list-different \"src/**/*.ts\"","build":"tsc","test":"jest ./src --coverage","watch":"jest ./src --watch"},"lint-staged":{"*.ts":["prettier --write","git add"]},"jest":{"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js"],"transform":{"\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|tsx|js)"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/tsgen.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"1727a5e9ef49da773613d8178e3da466277d2200","bugs":{"url":"https://github.com/ForbesLindesay/tsgen/issues"},"homepage":"https://github.com/ForbesLindesay/tsgen#readme","_id":"tsgen@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"d5844f2b3463ec79c4dbbc1b79a4c20d6112c98e","size":11647,"noattachment":false,"key":"/tsgen/-/tsgen-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tsgen/download/tsgen-1.1.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsgen_1.1.0_1518199477761_0.1679376148658358"},"_hasShrinkwrap":false,"publish_time":1518199478484,"_cnpm_publish_time":1518199478484},"1.0.1":{"name":"tsgen","version":"1.0.1","main":"lib/index.js","types":"lib/index.d.ts","description":"Convert flow types to typescript types, automatically","keywords":[],"files":["lib/"],"bin":{"tsgen":"./lib/cli.js"},"dependencies":{"@types/babel-code-frame":"^6.20.1","@types/babel-types":"^6.7.16","@types/babylon":"^6.16.1","@types/micromatch":"^2.3.29","babel-code-frame":"^6.22.0","babel-types":"^6.25.0","babylon":"^6.17.4","lsr":"^2.0.0","micromatch":"^3.0.3","prettier":"^1.5.2"},"devDependencies":{"@types/jest":"*","babel-cli":"*","babel-jest":"*","babel-preset-forbeslindesay":"*","eslint":"*","eslint-config-forbeslindesay":"*","flowgen2":"*","husky":"*","jest":"*","lint-staged":"*","ts-jest":"*","typescript":"*"},"scripts":{"precommit":"lint-staged","prepublish":"npm run build","prettier":"prettier --write \"src/**/*.ts\"","prettier:check":"prettier --list-different \"src/**/*.ts\"","build":"tsc","test":"jest ./src --coverage","watch":"jest ./src --watch"},"lint-staged":{"*.ts":["prettier --write","git add"]},"jest":{"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js"],"transform":{"\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|tsx|js)"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/tsgen.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"4a224bbfb81c856a9bd49bd2d5a220f03fd36332","bugs":{"url":"https://github.com/ForbesLindesay/tsgen/issues"},"homepage":"https://github.com/ForbesLindesay/tsgen#readme","_id":"tsgen@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"e011bb9b5e40baad093b6aa4413bf03bcb6ddc33","size":11201,"noattachment":false,"key":"/tsgen/-/tsgen-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/tsgen/download/tsgen-1.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsgen_1.0.1_1518197888202_0.5594479264942303"},"_hasShrinkwrap":false,"publish_time":1518197888979,"_cnpm_publish_time":1518197888979},"1.0.0":{"name":"tsgen","version":"1.0.0","main":"lib/index.js","types":"lib/index.d.ts","description":"Convert flow types to typescript types, automatically","keywords":[],"files":["lib/"],"bin":{"tsgen":"./lib/cli.js"},"dependencies":{"@types/babel-code-frame":"^6.20.1","@types/babel-types":"^6.7.16","@types/babylon":"^6.16.1","@types/micromatch":"^2.3.29","babel-code-frame":"^6.22.0","babel-types":"^6.25.0","babylon":"^6.17.4","lsr":"^2.0.0","micromatch":"^3.0.3","prettier":"^1.5.2"},"devDependencies":{"@types/jest":"*","babel-cli":"*","babel-jest":"*","babel-preset-forbeslindesay":"*","eslint":"*","eslint-config-forbeslindesay":"*","flowgen2":"*","husky":"*","jest":"*","lint-staged":"*","ts-jest":"*","typescript":"*"},"scripts":{"precommit":"lint-staged","prepublish":"npm run build","prettier":"prettier --parser typescript --single-quote --trailing-comma all --no-bracket-spacing --write \"src/**/*.js\"","prettier:check":"prettier --parser typescript --single-quote --trailing-comma all --no-bracket-spacing --list-different \"src/**/*.js\"","build":"tsc","test":"jest ./src --coverage","watch":"jest ./src --watch"},"lint-staged":{"*.js":["prettier --parser typescript --single-quote --trailing-comma all --no-bracket-spacing --write","git add"]},"jest":{"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js"],"transform":{"\\.(ts|tsx)$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|tsx|js)"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/tsgen.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"c6bfa9f4fa8184030dc3d2b5bacb0a97deb3e9bc","bugs":{"url":"https://github.com/ForbesLindesay/tsgen/issues"},"homepage":"https://github.com/ForbesLindesay/tsgen#readme","_id":"tsgen@1.0.0","_shasum":"04632d4b78df4ba035460205b6f26930a6557ae0","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"04632d4b78df4ba035460205b6f26930a6557ae0","size":11095,"noattachment":false,"key":"/tsgen/-/tsgen-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tsgen/download/tsgen-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsgen-1.0.0.tgz_1499046905939_0.8667892105877399"},"directories":{},"publish_time":1499046906878,"_hasShrinkwrap":false,"_cnpm_publish_time":1499046906878}},"readme":"# tsgen\n\nConvert flow types to typescript types, automatically\n\n[![Build Status](https://img.shields.io/travis/ForbesLindesay/tsgen/master.svg)](https://travis-ci.org/ForbesLindesay/tsgen)\n[![Dependency Status](https://img.shields.io/david/ForbesLindesay/tsgen/master.svg)](http://david-dm.org/ForbesLindesay/tsgen)\n[![NPM version](https://img.shields.io/npm/v/tsgen.svg)](https://www.npmjs.org/package/tsgen)\n\n## Installation\n\n```\nnpm install tsgen --save-dev\n```\n\n## Usage\n\n```\ntsgen \"lib/**/*.js.flow\" --ignore \"lib/internal-modules/**/*.js.flow\"\n```\n\nIf you're using `export default foo;` style for exports in flow, but compiling that to `module.exports = ` style CommonJS exports, you will also need to pass in `--common-js-default-export`.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/ForbesLindesay/tsgen#readme","bugs":{"url":"https://github.com/ForbesLindesay/tsgen/issues"},"license":"MIT"}