New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

content-filter-example

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

content-filter-example

An example to show how does content-filter work

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

content-filter-example

To run the example;

  • clone or download this repo.

  • extract the zipped repo file.

  • in the extracted repo directory run the commands below in order
    npm install
    node app

  • To try it Postman or the cURL command below can be used

curl -X PUT -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{
  "something": "the value of something key",
  "$*malicous": "test"
}' "http://localhost:1337/"

And read the code of app.js file

Keywords

content-filter-example

FAQs

Package last updated on 21 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts