1.0.6 • Published 1 year ago

showhar-ame-jokes v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

showhar-ame-jokes (Persian dad jokes)

A funny joke generate NPM package including handreds of persian dad jokes tweeted by persian people. Install

npm i showhar-ame-jokes

After installation, invoke the joke generator function and pass a a spicific 12 bytes id or a number 1-10. Example:

// Import the jokesGenerator function:
const jokesGenerator = require('showhar-ame-jokes')
// Invoke the function and pass a number as an argument and store it in a variable:
const arrayOfJokes = jokesGenerator(2)
// Log the result into the console 
console.log(arrayOfJokes)

Result:

[{
  "_id": {
    "$oid": "644ead287803a3117a0a6ca7"
  },
  "value": "بزغاله‌ها که ناراحت میشن صداشون بُزغالود میشه",
  "__v": 0,
  "createdAt": {
    "$date": {
      "$numberLong": "1682877736688"
    }
  },
  "updatedAt": {
    "$date": {
      "$numberLong": "1682877736688"
    }
  }
},{
  "_id": {
    "$oid": "644ead287803a3117a0a6ca8"
  },
  "value": "وقتی یه کشور تعجب میکنه میگه شهرام!",
  "__v": 0,
  "createdAt": {
    "$date": {
      "$numberLong": "1682877736689"
    }
  },
  "updatedAt": {
    "$date": {
      "$numberLong": "1682877736689"
    }
  }
}]

Check out the API equivalent to this package: Jokes-API

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago