Socket
Socket
Sign inDemoInstall

animality

Package Overview
Dependencies
70
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "animality",
"version": "1.0.2",
"version": "1.0.3",
"description": "A simple API wrapper that generates images & facts of any animal",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,3 +10,3 @@ # animality

```bash
$ npm i random-api
$ npm i animality
```

@@ -17,3 +17,3 @@

```bash
$ npm install random-api
$ npm install animality
```

@@ -24,3 +24,3 @@

```javascript
const randomapi = require("random-api")
const animality = require("animality")
```

@@ -35,3 +35,3 @@

```javascript
const randomapi = require("random-api")
const animality = require("animality")

@@ -42,3 +42,3 @@ const animals = ["cat", "dog", "bird", "panda", "redpanda", "koala", "fox", "whale", "kangaroo", "bunny"] //all available animals

randomapi.getAsync(animal).then(data => {
animality.getAsync(animal).then(data => {
console.log(data) //returns an object

@@ -60,7 +60,7 @@ })

```javascript
const randomapi = require("random-api")
const animality = require("animality")
const animal = "random"
randomapi.getAsync(animal).then(data => {
animality.getAsync(animal).then(data => {
console.log(data) //returns an object

@@ -67,0 +67,0 @@ })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc