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

microsoft-graph-typings

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microsoft-graph-typings - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

3

package.json
{
"name":"microsoft-graph-typings",
"version": "0.2.0",
"version": "0.2.1",
"types": "microsoft-graph.d.ts",
"typescript": {

@@ -5,0 +6,0 @@ "definition": "microsoft-graph.d.ts"

@@ -6,7 +6,16 @@ # Microsoft Graph TypeScript Typings

You can use Microsoft Graph definitions in your project in a few ways:
* Directly reference microsoft-graph.d.ts with a triple slash reference at the top of your .ts files.
```/// <reference path="microsoft-graph.d.ts" />```.
* Use a [tsconfig.json](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html) file so the /// reference doesn't need to be in every .ts file. By default, all files (including .d.ts) will be included in the directly where tsconfig.json resides.
## Installation
We recommend using [typings](https://github.com/typings/typings) to install the definitions.
```bash
# Install typings if you don't have it already
npm install typings --global
# Download the typings and save the dependency to typings.json
typings install common~microsoft-graph --save
```
![GIF showing intellisense and autocompletion for Microsoft Graph entities in Visual Studio Code ](https://github.com/microsoftgraph/msgraph-typescript-typings/raw/master/typings-demo.gif)

@@ -16,2 +25,4 @@ ## Examples

```typescript
import * as MicrosoftGraph from "microsoft-graph"
import * as request from 'superagent';

@@ -18,0 +29,0 @@ const accessToken:string = "";

@@ -5,5 +5,5 @@ {

"main" : "microsoft-graph.d.ts",
"name":"microsoft-graph-typings",
"version": "0.2.0",
"name":"microsoft-graph",
"version": "0.2.1",
"homepage": "https://github.com/microsoftgraph/msgraph-typescript-typings"
}
}
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