File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const { Block } = require('node-webpipe')
33
44new Block ( )
55 . name ( 'Convert Markdown to HTML' )
6- . description ( 'Determine whether or not a hostname exists. ' )
6+ . description ( 'Convert Markdown to HTML via the GitHub API ' )
77 . input (
88 'text' ,
99 'string' ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ new Block()
2222 'Top headlines and ledes from requested source(s).'
2323 )
2424 . handle ( ( { sources = [ 'the-new-york-times' ] } , cb ) => {
25- const articles = client . v2
25+ client . v2
2626 . topHeadlines ( {
2727 sources : sources ,
2828 language : 'en'
Original file line number Diff line number Diff line change 88 "author" : " Matthew Hudson" ,
99 "license" : " MIT" ,
1010 "dependencies" : {
11+ "newsapi" : " ^2.4.0" ,
1112 "node-webpipe" : " 0.0.3"
1213 }
1314}
You can’t perform that action at this time.
0 commit comments