Socket
Socket
Sign inDemoInstall

qdb-api-plus

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qdb-api-plus - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

package.json
{
"name": "qdb-api-plus",
"description": "A better API wrapper for Quote Database",
"version": "1.2.0",
"version": "1.3.0",
"main": "src/qdb-api.js",

@@ -6,0 +6,0 @@ "author": "Victor Veytsman",

@@ -53,8 +53,5 @@ /*const axios = require('axios').default;*/

}
/**
*
* @param {String} query The search word
* @param {Number} sort 0 for score, 1 for number
* @param {Number} count the amount of results to get (under 101)
*/
function top(count = 1) {
return parseQuotes(count, 'http://bash.org/?top', 100);
}
function search(query, sort, count) {

@@ -138,3 +135,4 @@ let showcount = count;

latest,
top,
search
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc