Coder Social home page Coder Social logo

kristjanlink / computer-puns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexlakatos/computer-puns

0.0 1.0 0.0 676 KB

A hand-picked selection of the worst computer puns, really cringe-worthy stuff.

Home Page: https://puns.dev

License: GNU General Public License v3.0

JavaScript 100.00%

computer-puns's Introduction

A hand-picked selection of the worst computer puns, really cringe worthy stuff.

Submit your own at the bottom of puns.json and if they make me cringe, I'll merge them.

I'm keeping these gender-neutral, a programmer isn't automatically a "he", so please use the singular they pronoun when refering to a person in the puns.

Node.js Package

Build Status codecov Known Vulnerabilities

Also a Node.js package available on NPM and the GitHub registry.

Install

npm install puns.dev

Usage

const puns = require("puns.dev");

Methods

.all

puns.all()

Returns an array of puns:

[{
  "pun": "Q: How do you comfort a JavaScript bug?",
  "punchline": "A: You console it!"
}]

.random

puns.random()

Returns a pun, as well as the random id that was generated:

{
  "pun": "Q: How do you comfort a JavaScript bug?",
  "punchline": "A: You console it!"
  "id": 7
}

.get

puns.get(id)

Returns the pun from the id in the pun list:

{
  "pun": "Q: How do you comfort a JavaScript bug?",
  "punchline": "A: You console it!"
}

Node.js CLI

TBD

computer-puns's People

Contributors

alexlakatos avatar ankitkaneri avatar apapad0 avatar azrizhaziq avatar chambers91 avatar dependabot[bot] avatar gabrielyong38 avatar invacuo avatar juliacodez avatar kai-oswald avatar kamaroolkarim avatar kristjanlink avatar lordjbs avatar mattiassundling avatar mraguso2 avatar muaz234 avatar nartuom avatar nilanshbansal avatar pablowbk avatar paddlepop25 avatar perun-01 avatar pixelatedjelly avatar prismacolor avatar purag avatar rahulkr204 avatar revar532 avatar talohana avatar tamaskn avatar tomgranot avatar vamisola avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.