Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crushit

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crushit - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

2

lib/crushit.js

@@ -256,3 +256,3 @@

module.exports = new CrushIt();
module.exports = CrushIt;
{
"name": "crushit",
"version": "0.3.3",
"version": "0.3.4",
"description": "CrushIt is a commandline tool for crawling web pages and compiling scripts",

@@ -5,0 +5,0 @@ "homepage": "http://qawemlilo.github.io/crushit/",

@@ -46,6 +46,8 @@ # CrushIt

```
var crushit = require("crushit");
var crushIt = require("crushit");
crushit.squeeze(options, callback);
crushIt = new crushIt();
crushIt.squeeze(options, callback);
# options

@@ -64,5 +66,7 @@ website - (String) Web page URL

```
var crushit = require("crushit");
var crushIt = require("crushit");
crushit.squeeze({
crushIt = new crushIt();
crushIt.squeeze({
website: "http://www.ragingflame.co.za",

@@ -89,5 +93,7 @@ comments: false,

```
var crushit = require("crushit");
var crushIt = require("crushit");
crushit.squeeze("http://www.ragingflame.co.za", function (error, code) {
crushIt = new crushIt();
crushIt.squeeze("http://www.ragingflame.co.za", function (error, code) {
if (error) {

@@ -103,3 +109,10 @@ console.error(error);

## Testing
```
npm test
```
## License

@@ -106,0 +119,0 @@

@@ -13,5 +13,8 @@

"use strict";
var html = fs.readFileSync(path.join(__dirname, 'assets', 'html.html'));
var script = fs.readFileSync(path.join(__dirname, 'assets', 'script.js'));
crushIt = new crushIt();
// create a server

@@ -18,0 +21,0 @@ before(function(done) {

Sorry, the diff of this file is not supported yet

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