duckgo v1.0.0
duckgo
Search DuckDuckGo in Node or from the command line!
Only returns headings and links at the moment.
Install
npm i duckgo
Command line
Usage
With duckgo
, you can search keywords and/or specify options. Options are essentially shortcuts for DuckDuckGo search syntax. Run $ duckgo -h
to view a complete list of options.
Search keywords
$ duckgo foobar
will simply search for "foobar".
$ duckgo foo bar
will search for "foo" and "bar" (i.e. "foo+bar").
Specify options
$ duckgo -s foobar.com -u baz
will search results on "foobar.com" with "baz" in the URL. This is equivalent to $ duckgo site:foobar.com inurl:baz
.
$ duckgo -s foobar.com -u baz bam
adds the keyword "bam" to the above search.
Node
Usage
TODO
Test
npm test
Lint
npm run lint
Contributing
Please do!
If you find a bug, want a feature added, or just have a question, feel free to open an issue. In addition, you're welcome to create a pull request addressing an issue. You should push your changes to a feature branch and request merge to develop
.
Make sure linting and tests pass and coverage is 💯 before creating a pull request!
4 years ago