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

random-facts

v1.0.6

Published

Get a random fact.

Downloads

570

Readme

Run this in RunKit

Examples

var rf = require('random-facts'); // Require the package
console.log(rf.randomFact()); // Random fact
console.log(rf.factCount()); // Fact count

Facts

Movie trailers were originally shown after the movie, which is why they were called “trailers”.
The top six foods that make your fart are beans, corn, bell peppers, cauliflower, cabbage and milk!
A crocodile can’t poke its tongue out
95% of people text things they could never say in person.
A baby octopus is about the size of a flea when it is born.
A baby spider is called a spiderling.
10% of the World’s population is left handed.
Gorillas burp when they are happy
Apple launched a clothing line in 1986. It was described as a “train wreck” by others.
Scientists have tracked butterflies that travel over 3,000 miles.
More than 60,000 people are flying over the United States in an airplane right now.
Our eyes are always the same size from birth, but our nose and ears never stop growing.
If 33 million people held hands, they could make it all the way around the equator.
A “jiffy” is the scientific name for 1/100th of a second.
More than 50% of the people in the world have never made or received a telephone call.
A flea can jump up to 200 times its own height. That is the equivalent of a human jumping the Empire State Building.
A ball of glass will bounce higher than a ball of rubber.
In the past 20 years, scientists have found over 1,000 planets outside of our solar system.
If you started with $0.01 and doubled your money every day, it would take 27 days to become a millionaire.
A person can live without food for about a month, but only about a week without water. If the amount of water in your body is reduced by just 1%, you’ll feel thirsty. If it’s reduced by 10%, you’ll die.
Months that begin on a Sunday will always have a “Friday the 13th”.
In France, it is legal to marry a dead person.
The harder you concentrate on falling asleep, the less likely to fall asleep.
You can’t hum while holding your nose closed.
There are more stars in space than there are grains of sand on every beach in the world.
On Jupiter and Saturn it rains diamonds.
Dolphins sleep with one eye open!
In 2006, an Australian man tried to sell New Zealand on eBay. The price rose to $3,000 before eBay shut it down.
Reed Hastings was inspired to start Netflix after racking up a $40 late fee on a VHS copy of Apollo 13.
When three-letter airport codes became standard, airports that had been using two letters simply added an X.
At one point in the 1990s, 50% of all CDs produced worldwide were for AOL.
A British man changed his name to Tim Pppppppppprice to make it harder for telemarketers to pronounce.
J.P. Morgan once offered $100,000 to anyone who could figure out why his face was so red. No one solved the mystery.
Prairie dogs say hello with kisses.
After OutKast sang “Shake it like a Polaroid picture,” Polaroid released a statement that said, “Shaking or waving can actually damage the image.”
Jonas Salk declined to patent his polio vaccine. "There is no patent," he said. "Could you patent the sun?"
The 50-star American flag was designed by an Ohio high school student for a class project. His teacher originally gave him a B–.
12+1 = 11+2, and "twelve plus one" is an anagram of "eleven plus two."