npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@datafire/nytimes_community

v6.0.0

Published

DataFire integration for Community API

Readme

@datafire/nytimes_community

Client library for Community API

Installation and Usage

npm install --save @datafire/nytimes_community
let nytimes_community = require('@datafire/nytimes_community').create({
  "api-key": ""
});

.then(data => {
  console.log(data);
});

Description

Get access to comments from registered users on New York Times articles. NOTE: This API is deprecated.

Actions

user_content.by_date.json.get

Comments by Date

nytimes_community.user_content.by_date.json.get({}, context)

Input

  • input object
    • date string

Output

  • output object
    • copyright string
    • debug object
      • version number
    • results object
      • api_timestamp string
      • comments array
        • items object
          • approveDate string
          • assetID integer
          • assetURL string
          • commentBody string
          • commentID integer
          • commentSequence integer
          • commentTitle string
          • commentType string
          • createDate string
          • editorsSelection integer
          • lft integer
          • recommendationCount integer
          • replies array
            • items object
          • replyCount integer
          • rgt integer
          • status string
          • statusID integer
          • updateDate string
          • userDisplayName string
          • userID integer
          • userLocation string
          • userTitle string
          • userURL integer
      • totalCommentsFound integer
      • totalCommentsReturned integer
    • status string

user_content.recent.json.get

Recent User Comments

nytimes_community.user_content.recent.json.get(null, context)

Input

This action has no parameters

Output

  • output object
    • copyright string
    • debug object
      • version number
    • results object
      • api_timestamp string
      • comments array
        • items object
          • approveDate string
          • asset object
            • all-properties array
            • assetID integer
            • assetTitle string
            • assetURL string
            • createDate string
            • labels array
            • properties object
            • source string
            • taxonomy string
            • text array
            • updateDate string
            • vendorID string
          • assetID integer
          • commentBody string
          • commentID integer
          • commentSequence integer
          • commentTitle string
          • commentType string
          • createDate string
          • display_name string
          • editorsSelection integer
          • location string
          • recommendationCount integer
          • replies array
            • items object
          • status string
          • statusID integer
          • updateDate string
          • userDisplayName string
          • userID integer
          • userLocation string
          • userTitle string
          • userURL string
      • totalCommentsReturned integer
    • status string

user_content.url.json.get

Comments by URL

nytimes_community.user_content.url.json.get({}, context)

Input

  • input object
    • url string

Output

  • output object
    • copyright string
    • debug object
      • version number
    • results object
      • api_timestamp string
      • comments array
        • items object
          • approveDate string
          • commentBody string
          • commentID integer
          • commentSequence integer
          • commentTitle string
          • commentType string
          • createDate string
          • depth integer
          • editorsSelection boolean
          • permID string
          • picURL string
          • recommendations integer
          • replies array
          • replyCount integer
          • sharing integer
          • status string
          • timespeople integer
          • trusted integer
          • updateDate string
          • userDisplayName string
          • userID integer
          • userLocation string
      • depthLimit integer
      • filter string
      • page integer
      • replyLimit integer
      • sort string
      • totalCommentsFound integer
      • totalCommentsReturned integer
      • totalEditorsSelectionFound integer
      • totalEditorsSelectionReturned integer
      • totalParentCommentsFound integer
      • totalParentCommentsReturned integer
      • totalRecommendationsFound integer
      • totalRecommendationsReturned integer
      • totalReplyCommentsFound integer
      • totalReplyCommentsReturned integer
      • totalReporterReplyCommentsFound integer
      • totalReporterReplyCommentsReturned integer
    • status string

user_content.user.json.get

Comments by User

nytimes_community.user_content.user.json.get({}, context)

Input

  • input object
    • userID integer

Output

  • output object
    • copyright string
    • debug object
      • version number
    • results object
      • api_timestamp string
      • comments array
        • items object
          • approveDate string
          • asset object
            • all-properties array
            • assetID integer
            • assetTitle string
            • assetURL string
            • createDate string
            • labels array
            • properties object
            • source string
            • taxonomy string
            • text array
            • updateDate string
            • vendorID string
          • commentBody string
          • commentID integer
          • commentSequence integer
          • commentTitle string
          • commentType string
          • createDate string
          • editorsSelection boolean
          • labels array
            • items object
          • permid integer
          • picURL string
          • recommendations integer
          • replies array
            • items object
          • replyCount integer
          • status string
          • updateDate string
          • userID integer
          • userSubmittedDisplayName string
          • userSubmittedLocation string
      • totalCommentsFound integer
      • totalCommentsReturned integer
    • status string

Definitions

This integration has no definitions