You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

ng2-wp-api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-wp-api - npm Package Compare versions

Comparing version

to
2.0.1

{
"name": "ng2-wp-api",
"version": "2.0.0",
"description": "WordPress API Service for Angular2",
"version": "2.0.1",
"description": "WordPress API Service for Angular 2",
"repository": {

@@ -13,2 +13,11 @@ "type": "git",

},
"keywords": [
"angular",
"angular2",
"wordpress",
"wp",
"api",
"service",
"ng2"
],
"author": "Murhaf Sousli <murhafsousi@gmail.com>",

@@ -15,0 +24,0 @@ "license": "MIT",

@@ -118,2 +118,14 @@ # Angular2 WordPress API Service [![npm](https://img.shields.io/npm/v/ng2-wp-api.svg?maxAge=2592000?style=plastic)](https://www.npmjs.com/package/ng2-wp-api) [![Build Status](https://travis-ci.org/MurhafSousli/ng2-wp-api.svg?branch=master)](https://travis-ci.org/MurhafSousli/ng2-wp-api) [![npm](https://img.shields.io/npm/dt/ng2-wp-api.svg?maxAge=2592000?style=plastic)](https://www.npmjs.com/package/ng2-wp-api)

Add `WordPressModule` to **NgModule** `imports` array.
```javascript
import { WordPressModule } from 'ng2-wp-api/dist';
@NgModule({
imports: [
WordPressModule
]
})
```
<a name="initialization"/>

@@ -151,3 +163,3 @@ ### Initialization

```javascript
import {WpService} from "ng2-wp-api";
import {WpService} from "ng2-wp-api/dist";

@@ -154,0 +166,0 @@ @Component({...})