{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/2629","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/2629/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/2629/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/2629/events","html_url":"https://github.com/facebook/flow/issues/2629","id":183033428,"number":2629,"title":"Add ts-node analogy","user":{"login":"ivan-kleshnin","id":2128182,"avatar_url":"https://avatars.githubusercontent.com/u/2128182?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan-kleshnin","html_url":"https://github.com/ivan-kleshnin","followers_url":"https://api.github.com/users/ivan-kleshnin/followers","following_url":"https://api.github.com/users/ivan-kleshnin/following{/other_user}","gists_url":"https://api.github.com/users/ivan-kleshnin/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-kleshnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-kleshnin/subscriptions","organizations_url":"https://api.github.com/users/ivan-kleshnin/orgs","repos_url":"https://api.github.com/users/ivan-kleshnin/repos","events_url":"https://api.github.com/users/ivan-kleshnin/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-kleshnin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-14T12:05:08Z","updated_at":"2016-10-14T20:04:28Z","closed_at":null,"body":"It's not comfortable to establish the whole transpilation machinery (for every test project folder)\r\njust to try some Flow syntax.\r\n\r\nTypeScript has `ts-node` which is basically a `node` wrapped with TS compiler.\r\nObviously, it's not for production, but it's great for **backend script development**!\r\n\r\n---\r\n\r\nWith `ts-node` or `flow-node`: just write some `test.js` and `$ ts-node test.js`.\r\n\r\nWithout `ts-node` or `flow-node`:\r\n\r\n1. `$ npm init`\r\n2. `$ npm install babel babel-loader`\r\n3. `$ npm install webpack`\r\n4. ...\r\n\r\n99\\. start writing that damned script..."},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/253905992","html_url":"https://github.com/facebook/flow/issues/2629#issuecomment-253905992","issue_url":"https://api.github.com/repos/facebook/flow/issues/2629","id":253905992,"user":{"login":"ivan-kleshnin","id":2128182,"avatar_url":"https://avatars.githubusercontent.com/u/2128182?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan-kleshnin","html_url":"https://github.com/ivan-kleshnin","followers_url":"https://api.github.com/users/ivan-kleshnin/followers","following_url":"https://api.github.com/users/ivan-kleshnin/following{/other_user}","gists_url":"https://api.github.com/users/ivan-kleshnin/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-kleshnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-kleshnin/subscriptions","organizations_url":"https://api.github.com/users/ivan-kleshnin/orgs","repos_url":"https://api.github.com/users/ivan-kleshnin/repos","events_url":"https://api.github.com/users/ivan-kleshnin/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-kleshnin/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T20:04:28Z","updated_at":"2016-10-14T20:04:28Z","body":"> Could https://github.com/leebyron/flow-remove-types be what you're looking for?\r\n\r\nProbably! I saw `flow-node` somewhere in the docs but I couldn't find a package with such name. It's a shame that so important binary is located under different name.\r\n\r\n> You can use babel-node for this purpose as well\r\n\r\nGood idea as well! "}}
{"actor":{"display_login":"ivan-kleshnin"}}