Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

storify

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storify

Storify API client for node.js

  • 0.0.35
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

node-storify

Usage

var Storify = require('storify');

var s = new Storify({ api_key: 'fd5dfs54f6d54sf' });

// should we implement this using callbacks ...

s.authenticate('cpetzold', 'test', function(user) {
  // user is a lib/User objects (with a _token property set for authorized calls)
});

s.getUser('cpetzold', function(user) {
  user.getStories(function(stories) {
    // stories is a lib/Collection of lib/Story objects
  });
});


// ... or promises?

var user = s.getUser('cpetzold'); // lib/User

var story = user.getStory('some-story'); // would be deferred until the user promise was fulfilled

FAQs

Package last updated on 23 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc