Comparing version 1.1.5 to 1.1.6
@@ -1,1 +0,1 @@ | ||
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"c676e541b05bd74a68380335109228cb","lockfileHash":"cf65905e59590085f7334138768bcfe3","guessedImports":["node-fetch"],"guessedImportsHash":"51266e8e25b3d5e637d3474eb13a80d8"}}} | ||
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"3f85ba38263a4f7c228956a563f60c08","lockfileHash":"16dc80641792622cb20c264de2638a74","guessedImports":["node-fetch"],"guessedImportsHash":"51266e8e25b3d5e637d3474eb13a80d8"}}} |
{ | ||
"name": "animality", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "A simple API wrapper that generates images & facts of any animal", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,3 +22,3 @@ # animality | ||
```javascript | ||
const animality = require("animality") | ||
const animality = require("animality"); | ||
``` | ||
@@ -43,10 +43,10 @@ | ||
```javascript | ||
const animality = require("animality") | ||
const animality = require("animality"); | ||
const animals = ["cat", "dog", "bird", "panda", "redpanda", "koala", "fox", "whale", "kangaroo", "bunny"] //all available animals | ||
const animals = ["cat", "dog", "bird", "panda", "redpanda", "koala", "fox", "whale", "kangaroo", "bunny"]; //all available animals | ||
const animal = "cat" //replace cat with any animal you want from the array "animals" | ||
const animal = "cat"; //replace cat with any animal you want from the array "animals" | ||
animality.getAsync(animal).then(data => { | ||
console.log(data) //returns an object | ||
console.log(data); //returns an object | ||
}) | ||
@@ -65,8 +65,8 @@ ``` | ||
```javascript | ||
const animality = require("animality") | ||
const animality = require("animality"); | ||
const animal = "random" | ||
const animal = "random"; | ||
animality.getAsync(animal).then(data => { | ||
console.log(data) //returns an object | ||
console.log(data); //returns an object | ||
}) | ||
@@ -86,8 +86,8 @@ ``` | ||
```javascript | ||
const animality = require("animality") | ||
const animality = require("animality"); | ||
const animals = ["cat", "dog", "kangaroo"] | ||
const animals = ["cat", "dog", "kangaroo"]; | ||
animality.getAsync(animals).then(data => { | ||
console.log(data) //returns an array of objects | ||
console.log(data); //returns an array of objects | ||
}) | ||
@@ -94,0 +94,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8270