Socket
Book a DemoInstallSign in
Socket

json-web-crawler

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-web-crawler - npm Package Compare versions

Comparing version

to
0.7.1

2

index.js

@@ -102,3 +102,3 @@ const co = require('co');

switch(true) {
case elems.length:
case (elems.length > 0):
return elems.map(tmp => {

@@ -105,0 +105,0 @@ const $tmpElem = tmp.elem ? $elem.find(tmp.elem) : $elem;

{
"name": "json-web-crawler",
"version": "0.7.0",
"version": "0.7.1",
"description": "Crawl website by json",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -13,5 +13,5 @@ # Json Web Crawler

```javascript
const Crawl = require('json-web-crawler');
const crawl = require('json-web-crawler');
Crawl('HTML content', your json setting)
crawl('HTML content', your json setting)
.then(console.log)

@@ -18,0 +18,0 @@ .catch(console.error);

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.