javascript – Snoowrap API reddit with node js

How to expand showing subreddit page(I want to show posts form last 15 days), and how to find one specific word from this subreddit and post all links that contains title and text with that word?

r.getNew('subreddit').map(post => post.title).then(console.log);


This give me just first page, and I don’t get specific word at all.