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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/rummblelabs

v6.0.0

Published

DataFire integration for Seldon

Readme

@datafire/rummblelabs

Client library for Seldon

Installation and Usage

npm install --save @datafire/rummblelabs
let rummblelabs = require('@datafire/rummblelabs').create();

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

Description

Seldon is an Open Predictive Platform that currently allows item recommendations and general predictive models to be deployed based on structured historical data.

Actions

postAction

post new action between a user and an item

rummblelabs.postAction({
  "body": null
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • body required Action

Output

Output schema unknown

getItems

get items

rummblelabs.getItems({}, context)

Input

  • input object
    • oauth_token string: oauth token
    • full boolean: get all attributes for item
    • name string: keywords to match
    • dimension integer: limit items to a particular dimension
    • type integer: limit items to a particular type
    • limit integer: limit number of items returned

Output

Output schema unknown

postItem

post new item

rummblelabs.postItem({
  "body": null
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • body required Item

Output

Output schema unknown

putItem

update item

rummblelabs.putItem({
  "body": null
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • body required Item

Output

Output schema unknown

getItemTypes

get item type

rummblelabs.getItemTypes({}, context)

Input

  • input object
    • oauth_token string: oauth token

Output

Output schema unknown

getItem

get item

rummblelabs.getItem({
  "itemId": ""
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • itemId required string: the item id to get
    • full boolean: get all attributes for item

Output

Output schema unknown

addAction

Add a user interaction

rummblelabs.addAction({
  "consumer_key": "",
  "user": "",
  "item": "",
  "type": "",
  "jsonpCallback": ""
}, context)

Input

  • input object
    • consumer_key required string: consumer key
    • user required string: user id
    • item required string: item id
    • type required string: type
    • jsonpCallback required string: JSONP callback
    • timestamp integer: time

Output

Output schema unknown

getRecommendation

Get recommendations for a user

rummblelabs.getRecommendation({
  "consumer_key": "",
  "user": "",
  "jsonpCallback": ""
}, context)

Input

  • input object
    • consumer_key required string: consumer key
    • user required string: user id
    • item string: currently viewed item id
    • limit integer: max number of recommendations to return
    • dimension integer: get recommendations for a particular item dimension (e.g., just sports articles)
    • attributes string: the fields to return
    • algorithms string: override default algorithms with specified algorithms
    • jsonpCallback required string: JSONP callback

Output

Output schema unknown

getToken

get token

rummblelabs.getToken({
  "consumer_key": "",
  "consumer_secret": ""
}, context)

Input

  • input object
    • consumer_key required string: consumer key
    • consumer_secret required string: consumer secret

Output

Output schema unknown

getUsers

get users

rummblelabs.getUsers({}, context)

Input

  • input object
    • oauth_token string: oauth token
    • full boolean: get all attributes for user
    • name string: keywords to match
    • limit integer: limit number of users returned

Output

Output schema unknown

postUser

post new user

rummblelabs.postUser({
  "body": null
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • body required User

Output

Output schema unknown

updateUser

update user

rummblelabs.updateUser({
  "body": null
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • body required User

Output

Output schema unknown

getUser

get a user

rummblelabs.getUser({
  "userId": ""
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • userId required string: the user id to get
    • full boolean: get all attributes for user

Output

Output schema unknown

getUserActions

get a user's recent actions

rummblelabs.getUserActions({
  "userId": ""
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • userId required string: the user id to get
    • full boolean: get all attributes for user
    • limit integer: limit number of actions returned

Output

Output schema unknown

getUserRecommendations

get recommendations for a user

rummblelabs.getUserRecommendations({
  "userId": ""
}, context)

Input

  • input object
    • oauth_token string: oauth token
    • userId required string: the user id to get
    • full boolean: get all attributes for user
    • limit integer: limit number of actions returned
    • dimension integer: get recommendations for a particular item dimension (e.g., just sports articles)
    • algorithms string: override default algorithms with specified algorithms

Output

Output schema unknown

Definitions

Action

  • Action object
    • item required string
    • type required integer: action type
    • user required string
    • value number: action value (e.g. a rating)

AttributesName

  • AttributesName object
    • attrName1 string
    • attrName2 string

Item

  • Item object
    • attributesName AttributesName
    • id required string
    • type integer: type of item

User

  • User object
    • active boolean: whether user is active
    • attributesName AttributesName
    • id required string
    • username string: name of user