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

@creamcropdev/json

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

@creamcropdev/json

A JSON 1.1 feed parser.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

JSON

The JSON feed parser for the creamcrop package.

codecov

Installation

Installation is avaliable through npm, yarn, or pnpm:

npm i @creamcropdev/json
yarn add @creamcropdev/json
pnpm add @creamcropdev/json

Usage

NodeJS:

const parser = require('@creamcropdev/json')

(async () => {

    let feed = await parser.parse('https://www.jsonfeed.org/feed.json')

    console.log(feed.items) // Logs JSON of all items
    console.log('Number of Items:' + feed.itemlength) // Returns number of items in the feed

})();

The feed parser supports versions 1 and 1.1 of JSON feeds, see the docs for more.

Keywords

FAQs

Package last updated on 29 Aug 2021

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

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