hack-news
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"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'); |
12672
199