Socket
Socket
Sign inDemoInstall

hack-news

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

2

package.json
{
"name": "hack-news",
"version": "2.0.2",
"version": "2.0.3",
"description": "A simple library of methods to help you interact with the Hacker News API. There's more on the way.",

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

@@ -104,7 +104,7 @@ ## Installation

All items have some of the following properties, with required properties in bold:
All items have some of the following properties, with required properties in bold.
| Field | Description |
| ----- | :---------- |
| id | The item's unique id. |
| **id** | The item's unique id. |
| deleted | true if the item is deleted. |

@@ -158,13 +158,14 @@ | type | The type of item. One of "job", "story", "comment", "poll", or "pollopt". |

All users have some of the following properties.
All users have some of the following properties, with required properties in bold.
| Field | Description |
| ----- | :---------- |
| id | The user's unique username. Case-sensitive. Required. |
| **id** | The user's unique username. Case-sensitive. Required. |
| delay | Delay in minutes between a comment's creation and its visibility to other users. |
| created | Creation date of the user, in Unix Time. |
| karma | The user's karma. |
| **created** | Creation date of the user, in Unix Time. |
| **karma** | The user's karma. |
| about | The user's optional self-description. HTML. |
| submitted | List of the user's stories, polls and comments. |
```javascript

@@ -171,0 +172,0 @@ var hn = require('hack-news');

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc