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 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-superfeedr

v0.0.2

Published

[![Build Status](https://img.shields.io/travis/dreadjr/node-superfeedr.svg?style=flat-square&branch=master)](https://travis-ci.org/dreadjr/node-superfeedr) [![Coverage Status](https://img.shields.io/coveralls/dreadjr/node-superfeedr.svg?style=flat-square&

Downloads

1

Readme

Build Status Coverage Status

Dependency status devDependency Status optionalDependency peerDependency

Installation

npm install node-superfeedr

Testing

npm test

API Reference

node-superfeedr

Install:

npm install node-superfeedr

Example:

var superfeedr = require('node-superfeedr');

Testing out this

superfeedr

node-superfeedr

Install:

npm install node-superfeedr

Example:

var superfeedr = require('node-superfeedr');

Helper

superfeedr

node-superfeedr

Install:

npm install node-superfeedr

Example:

var superfeedr = require('node-superfeedr');

superfeedr/subscribers/http

Superfeedr Subscribers Http Client

Example:

var superfeedr = require('node-superfeedr');
var options = {
  username: process.env.SUPERFEEDR_USERNAME || 'username',
  token: process.env.SUPERFEEDR_TOKEN || 'token'
};

var client = new superfeedr.Subscribers.HttpClient(options);

Submodule: http

| Param | Type | Description | | --- | --- | --- | | [options] | Object | override default options | | options.username | string | Superfeedr username | default: process.env.SUPERFEEDR_USERNAME | | options.token | string | Superfeedr token value | default: process.env.SUPERFEEDR_TOKEN | | options.endpoint | url | Superfeedr Push Api Endpoint | default: https://push.superfeedr.com |

superfeedr/subscribers/http~addFeed(topic, callback, [secret], [options]) ⇒ Promise

Kind: inner method of superfeedr/subscribers/http

| Param | Type | Description | | --- | --- | --- | | topic | url | The URL of the HTTP resource to which you want to subscribe. It cannot be more than 2048 characters long. | | callback | url | The webhook: it's the URL to which notifications will be sent. Make sure you it's web-accessible, ie not behind a firewall. Its size is currently limited to 250 characters. | | [secret] | string | Recommended. A unique secret string which will be used by us to compute a signature. You should check this signature when getting notifications. | | [options] | Object | Less used options | | options.verify | string | Will perform a PubSubHubbub verification of intent synschronously or asynschronously | async | sync. | | options.format | string | If you want to receive notifications as json format (for feeds only!). You can also use an Accept HTTP header like this: Accept: application/json. If you explicitly want to receive notification as Atom. This is used by default for any resource that's either Atom or RSS. If you don't specify any, we will send you the data pulled from the HTTP resource, (excluding feeds). | json | atom. | | options.retrieve | string | If set to true, the response will include the current representation of the feed as stored in Superfeedr, in the format desired. Please check our Schema for more details. | true | false |

superfeedr/subscribers/http~removeFeed(topic, [callback], [options]) ⇒ Promise

Kind: inner method of superfeedr/subscribers/http

| Param | Type | Description | | --- | --- | --- | | topic | url | The URL of the HTTP resource to which you want to unsubscribe. | | [callback] | url | The URL to which notifications will be sent. It is optional if you are only subscribed to the feed 'once', with a single hub.callback. If you have multiple subscriptions, you will need to supply the hub.callback parameter. It is also required if you use the hub.verify param. | | [options] | Object | Less used options | | options.verify | string | We will perform a PubSubHubbub verification of intent synschronously or asynschronously. | async | sync |