hank
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

The most Goofy Ahh messages from Hank Schrader

Hey, sussy bakas, have you ever wanted to use epic quotes from Dean Norris in your JavaScript projects? Well now you can! This repository contains goofy ahh messages from Dean Norris (a.k.a. Hank Schrader) from different sources, including Cameo, Breaking Bad and Better Call Saul! Feel free to use this library for fake data or testing.

Note: This library is still under development, so there are not many messages yet. More will be added in the future. If you'd like to add more Hank quotes, feel free to contribute by creating a pull request.

Hank Schrader

Usage

Install the package:

npm install hank

Get all the messages:

import { messages } from "hank";

console.log(messages); // [ { id: "sussyBaka", ... }, ... ]

Get a random message:

import { message } from "hank";

console.log(message()); // { ... }

Documentation

messages: HankMessage[]

An array of all the messages. Each message is an object with the following properties:

type HankMessage = {
    id: string;
    text: string;
    source: 'cameo'|'breakingBad'|'betterCallSaul';
    date?: Date;
};

message: () => HankMessage

Returns a random message from the messages array.

Contributing

If you'd like to add more messages, feel free to create a pull request. The messages should be in the correct format, and should be actual quotes from Dean Norris.

Package Sidebar

Install

npm i hank

Weekly Downloads

2

Version

0.1.1

License

ISC

Unpacked Size

4.32 kB

Total Files

4

Last publish

Collaborators

  • gducrash