ng2-wp-api
Advanced tools
{ | ||
"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 [](https://www.npmjs.com/package/ng2-wp-api) [](https://travis-ci.org/MurhafSousli/ng2-wp-api) [](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({...}) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
550459
0.06%289
4.33%0
-100%