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

animality

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animality - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

2

.upm/store.json

@@ -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 @@ ```

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