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

jstrip

Package Overview
Dependencies
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstrip - npm Package Compare versions

Comparing version 2.9.10 to 2.9.11

2

package.json
{
"name": "jstrip",
"version": "2.9.10",
"version": "2.9.11",
"description": "webpage crawler manipulation",

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

@@ -15,4 +15,22 @@ # jStrip

Check out the many [Examples](#examples) of using jStrip.
#### Chuck Norris Random Joke - json api
```js
const jStrip = require("jstrip");
const chuckNJoke = new jStrip();
//display random chuck norris joke
chuckNJoke.on('m1', (d) => {
let pJson = JSON.parse(d.data);
console.log(`Chuck Norris Joke: ${pJson.value}`);
});
chuckNJoke.getData("https://api.chucknorris.io/jokes/random")
.marker("m1").jpretty().show();
//jpretty layouts json in easy to read format
```
Check out the many more [Examples](#examples) of using jStrip.
## Installation

@@ -19,0 +37,0 @@

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