Socket
Socket
Sign inDemoInstall

some-random-cat

Package Overview
Dependencies
6
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.1 to 2.2.2

build/package.json

9

package.json
{
"name": "some-random-cat",
"version": "2.2.1",
"version": "2.2.2",
"description": "A very suitable API to generate random images of cats, dogs and random jokes, facts... A lot more!",
"main": "index.js",
"main": "build/src/index.js",
"types": "build",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "tsc"
},

@@ -24,3 +25,5 @@ "repository": {

"dependencies": {
"@types/node": "^14.14.37",
"axios": "^0.21.0",
"dotenv": "^8.2.0",
"moment": "^2.29.1",

@@ -27,0 +30,0 @@ "moment-duration-format": "^2.3.2"

@@ -32,14 +32,18 @@ # Introduction

```javascript
const somethingRandom = require('some-random-cat').Random //Import the package
somethingRandom.getCat()
const SomeRandomCat = require('../index').Random; // Replace ../index with some-random-cat
SomeRandomCat.getCat() // Function for generating cat
.then(res => {
console.log(res)
return
}) // Get the result
})
.catch(e => {
console.error(e)
return
}) // Catch the error
});
```
## Contributing
To contribute in this package, simple open a pull request in the github repository. When all the checks for your request have been passed, we can merge it into the main branch.
## Statistics

@@ -50,4 +54,7 @@

## Support
Join the support server [here](https://discord.gg/HEQxjNqE)
## Documentation
📖 The official documentation is now available [here](https://somerandomcat.js.org)
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