{"action":"opened","issue":{"url":"https://api.github.com/repos/fb55/node-cornet/issues/6","repository_url":"https://api.github.com/repos/fb55/node-cornet","labels_url":"https://api.github.com/repos/fb55/node-cornet/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/fb55/node-cornet/issues/6/comments","events_url":"https://api.github.com/repos/fb55/node-cornet/issues/6/events","html_url":"https://github.com/fb55/node-cornet/issues/6","id":334435401,"node_id":"MDU6SXNzdWUzMzQ0MzU0MDE=","number":6,"title":"Question: A simple trumped equivalent example","user":{"login":"Kikobeats","id":2096101,"node_id":"MDQ6VXNlcjIwOTYxMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/2096101?v=4","gravatar_id":"","url":"https://api.github.com/users/Kikobeats","html_url":"https://github.com/Kikobeats","followers_url":"https://api.github.com/users/Kikobeats/followers","following_url":"https://api.github.com/users/Kikobeats/following{/other_user}","gists_url":"https://api.github.com/users/Kikobeats/gists{/gist_id}","starred_url":"https://api.github.com/users/Kikobeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kikobeats/subscriptions","organizations_url":"https://api.github.com/users/Kikobeats/orgs","repos_url":"https://api.github.com/users/Kikobeats/repos","events_url":"https://api.github.com/users/Kikobeats/events{/privacy}","received_events_url":"https://api.github.com/users/Kikobeats/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T10:37:35Z","updated_at":"2018-06-21T10:37:35Z","closed_at":null,"author_association":"NONE","body":"Hello, thanks for write this library, it's small and easy to use.\r\n\r\nCan you provide a `trumpet` example equivalent in order to modify a specific matched selector and write the output?\r\n\r\n```\r\nvar trumpet = require('trumpet');\r\nvar tr = trumpet();\r\ntr.pipe(process.stdout);\r\n \r\nvar ws = tr.select('tbody').createWriteStream();\r\nws.end('<tr><td>rawr</td></tr>');\r\n\r\nvar fs = require('fs');\r\nfs.createReadStream(__dirname + '/html/table.html').pipe(tr);\r\n```"}}
{"actor":{"display_login":"Kikobeats"}}