Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "pauk", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "web crawler", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,7 +5,12 @@ pauk | ||
Basic Node.js web crawler. | ||
### Install | ||
``` | ||
$ npm install pauk | ||
``` | ||
## Example: | ||
```js | ||
var pauk = new Pauk({maxRequests: 10}); | ||
var Pauk = require('pauk'), | ||
pauk = new Pauk({maxRequests: 10}); | ||
pauk.onFinish = function(cache) { | ||
@@ -17,4 +22,9 @@ cache.forEach(function(v, uri) { | ||
}; | ||
pauk.crawl('http://example.com'); | ||
``` | ||
### Test | ||
``` | ||
$ grunt | ||
``` | ||
## API | ||
@@ -72,1 +82,2 @@ ### new Pauk(config) | ||
``` | ||
Sorry, the diff of this file is not supported yet
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
29581
81