itunes-helper
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,1 +0,1 @@ | ||
module.exports = require('./lib/itunes-api.min'); | ||
module.exports = require('./lib/itunes-helper.min'); |
{ | ||
"name": "itunes-helper", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "index.js", | ||
@@ -9,5 +9,9 @@ "description": "Library to simplify using the iTunes API.", | ||
"typings": "./index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/jens-hansen/itunes-api" | ||
}, | ||
"scripts": { | ||
"start": "yarn build", | ||
"build": "webpack --watch", | ||
"build": "webpack", | ||
"test": "jest", | ||
@@ -14,0 +18,0 @@ "test:watch": "jest --watchAll" |
@@ -1,5 +0,21 @@ | ||
# iTunes-Api | ||
# iTunes-Helper | ||
Simplifies usage of the iTunes Api. | ||
## Installation | ||
Node: | ||
```bash | ||
npm install itunes-helper | ||
``` | ||
```javascript | ||
const iTunesHelper = require('itunes-helper'); | ||
``` | ||
In Webbrowser: | ||
```html | ||
<script src="https://unpkg.com/itunes-helper/lib/itunes-helper.min.js"></script> | ||
``` | ||
## Usage | ||
@@ -9,7 +25,8 @@ | ||
```javascript | ||
iTunesApi.search({ | ||
iTunesHelper.search({ | ||
term: 'game of thrones', | ||
country: 'DE', limit: 1 | ||
country: 'DE', | ||
limit: 1, | ||
}) | ||
.then(res => console.log(res.resultCount)); | ||
.then(res => console.log(res)); | ||
``` | ||
@@ -19,3 +36,3 @@ | ||
```javascript | ||
iTunesApi.lookup({ | ||
iTunesHelper.lookup({ | ||
id: 1256129534, | ||
@@ -22,0 +39,0 @@ country: 'DE', |
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
43
0
185346
15
25
2