New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

json-feed-fetcher

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-feed-fetcher

Fetch json data from an endpoint and returns an array of objects filtered against scheme


Version published
Maintainers
1
Created

Fetch json data from an endpoint and returns an array of objects filtered against scheme

Install:

npm install json-feed-fetcher

run test:

npm test

Example code:

const jsonDataFetch = require('json-feed-fetcher')

const schema = {
  name: { type: 'string', required: true }
}

jsonDataFetch('http://myendpoint', schema).then(data => {
  console.log(data)
})

FAQs

Package last updated on 28 Nov 2017

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