New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-outlook

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-outlook

A simple wrapper around the Corodova Office 365 Library for use with Node.js

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.1K
decreased by-22.71%
Maintainers
1
Weekly downloads
 
Created
Source

Node.js Wrapper for Office 365 APIs Client Library

This library is a simple wrapper intended to enable use of the Microsoft Office 365 APIs Client Libraries for Cordova Applications from a Node.js app.

Tricks used

  • To load in the exchange.js file, which is not a Node module, I used the method described here.
  • The exchange.js file uses the AJAX XMLHttpRequest object for sending requests. To get it working quickly without having to modify exchange.js, I used the node-XMLHttpRequest module.

Required software

Installation

Installing should be done via NPM:

npm install node-outlook

Usage

Once installed, add the following to your source file:

var outlook = require("node-outlook");

You can then create an OutlookServices.Client object like so:

var outlookClient = new outlook.Microsoft.OutlookServices.Client('https://outlook.office365.com/api/v1.0',  
  authHelper.getAccessTokenFn('https://outlook.office365.com/', session)); 

Where authHelper.getAccessTokenFn is a callback method you implement to provide the needed OAuth2 access token.

For more details on the syntax of using this library, see:

Sample App

For a sample app that uses this library, see the node-mail sample.

Copyright (c) Microsoft. All rights reserved.


Connect with me on Twitter @JasonJohMSFT

Follow the Exchange Dev Blog

Keywords

FAQs

Package last updated on 30 Apr 2015

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