
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
jsonify-that-feed
Advanced tools
A simple library for turning Atom, RSS and JSON feeds into JSON Feed.
Parse Atom
, RSS
, JSON
feeds to JSON Feed 1.1
.
Or OPML
to JSON
and vice versa.
This module is specifically developed for Ghost Reader
# with npm: npm i jsonify-that-feed
yarn add jsonify-that-feed
import axios from 'axios';
import * as jsonify from 'jsonify-that-feed';
const { data } = await axios.get(url);
const feed = jsonify.toJson(data);
console.log(feed);
/*
{
"version": "https://jsonfeed.org/version/1.1",
"title": "My Example Feed",
"home_page_url": "https://example.org/",
"feed_url"?: "https://example.org/feed.json",
"items": [
{
"id": "1",
"content_html"?: "<p>Hello, world!</p>",
"url"?: "https://example.org/initial-post"
}
]
}
*/
const json = jsonify.opmlToJson(data);
console.log(json);
/**
{
version: 2,
head: { title: 'Ghost Reader Subscriptions' },
body: {
outline: [
{
text: 'Example',
title: 'Example',
type: 'rss',
xmlUrl: 'https://example.com/feed',
htmlUrl: 'https://example.com',
},
],
},
}
*/
const opml = jsonify.jsonToOpml(data);
console.log(opml);
/**
<version>2</version>
<head>
<title>Ghost Reader Subscriptions</title>
</head>
<body>
<outline>
<text>Example</text>
<title>Example</title>
<type>rss</type>
<xmlUrl>https://example.com/feed</xmlUrl>
<htmlUrl>https://example.com</htmlUrl>
</outline>
</body>
*/
FAQs
A simple library for turning Atom, RSS and JSON feeds into JSON Feed.
We found that jsonify-that-feed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.