Socket
Socket
Sign inDemoInstall

node-box-sdk

Package Overview
Dependencies
23
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-box-sdk

Node.js Box SDK


Version published
Maintainers
1
Created

Readme

Source

Node.js Box SDK

Node.js module for both Box.com Content API & Box.com View API

This module interacts with the Box APIs and returns the requested data as well as an encrpyted string containing the Box Access Token and Box Refresh Token which allows client side apps to store this as a cookie for users.

Install

npm install node-box-sdk

Configure

var box = require('node-box-sdk');

box.configure({
  client_id: 'id', // Box Content Client ID
  client_secret: 'secret', // Box Content Client Secret
  api_key: 'apikey', // Box View API Key
  encrypt: { password: 'password' } // password for box token encrpytion
});

Express Server Example

    //Todo

Hapi Server Example

Using node-box-sdk inside Hapi

FAQs

Last updated on 24 Jun 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc