Comparing version 1.1.0 to 1.1.1
@@ -33,2 +33,3 @@ const request = require('request'), cheerio = require('cheerio') | ||
list(options = {mode: ''}, callback) { | ||
if(typeof options === 'function') [callback, options] = [options, ''] | ||
if(typeof options === 'string') options = {mode: options} | ||
@@ -35,0 +36,0 @@ if(typeof options !== 'object') throw new Error('options must be an object or a string') |
{ | ||
"name": "shindan", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "shindanmaker web scraper", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -30,3 +30,3 @@ # shindan | ||
### promise = shindan.list(options[, callback]) | ||
### promise = shindan.list([options], [callback]) | ||
Scrapes ShindanMaker's list page, passing `options` as a query string. | ||
@@ -33,0 +33,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6873
72