npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@phoenix-plugin-registry/brackets-cowsay

v1.0.1

Published

Generate a cow saying very profound and silly things.

Downloads

2

Readme

An extension for Brackets to generate a cow saying very profound and silly things.

How to Install

  1. Select Brackets > File > Extension Manager...
  2. Search for this extension.
  3. Click on the Install button.

How to Use Cowsay

Type cowsay and press the Tab key. Enter your text into the dialog box and click OK.

You can also add options to the cowsay command with an underscore character followed by the option name. For example: cowsay_help. Multiple options can also be chained together. For example, typing cowsay_fortune_e@@_TVV and then pressing the Tab key will give you a paranoid, vampiric cow saying a very profound and silly thing. Using an unrecognized option will insert an error message into the document. Using more than one underscore character in a row (e.g. cowsay_fortune__TU) will insert an error message into the document.

Note: Options to the far right of the chain always have the highest priority. If two options in the chain conflict with each other, the option on the right will have precedence. For example, the command cowsay_p_t will draw a tired cow and the command cowsay_t_p will draw a paranoid cow.

List of Current Options

_e[text]: Define how to draw the cow's eyes. [text] can be zero, one, or two characters to represent the cow's eyes. For example, _e>< will draw the eyes shut tightly, _eOo will draw uneven eyes, _e@ will draw a cyclops cow, and _e will draw a cow with no eyes at all. All characters are valid except whitespace and the underscore. If you want those characters you will have to tweak your cow by hand.

_T[text]: Define how to draw the cow's tongue. [text] can be zero, one, or two characters to represent the cow's tongue. For example, _TVV will draw the a vampire cow, _TW is a cow with a forked tongue, and _T will draw a cow with no tongue at all. All characters are valid except whitespace and the underscore. If you want those characters you will have to tweak your cow by hand.

_b: Draws a Borg cow.

_d: Draws a dead cow.

_g: Draws a greedy cow.

_p: Draws a paranoid cow.

_s: Draws a stoned cow.

_t: Draws a tired cow.

_w: Draws a wired cow.

_y: Draws a young cow.

_think: Displays a cow thinking instead of speaking.

_fortune: Displays a cow saying a very profound and silly thing.

_html: Surrounds the cow in a pair of state-of-the-art, HTML5 compliant, Web Standards conformant <pre> </pre> tags. This prevents the browser from turning your cow into a pile of ASCII ground beef.

_?, _help: Displays help for the Cowsay extension. If this option is used, you will not be able to enter any text and no cow will be generated. All other options will be ignored.

Roadmap

  • Add word wrap option
  • Option to load different animals

License and Credits

MIT-licensed -- see main.js for details.

Based off of Fabio Crisci's Cowsay Node Module...

which was based off of the original Perl project by Tony Monroe: cowsay