Franc
franc
Detect the language of text.
franc is a natural language detection lib that supports 188 languages (1M or more speakers).
Get it: npm install franc
Sample usage:
1 2 3 4 5 | |
GIF FTW!

Detect the language of text.
franc is a natural language detection lib that supports 188 languages (1M or more speakers).
Get it: npm install franc
Sample usage:
1 2 3 4 5 | |
GIF FTW!

What 🐶 is this?
Get the breed of a dog from an image using Microsoft's what-dog.

Get it: npm install --save what-dog
Sample usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
GIF FTW!

Fire an event no matter how a process exits.
signal-exit fires an event no matter how a process exits:
process.exit(code) called.process.kill(pid, sig) called.Get it: npm install signal-exit
Sample code:
1 2 3 4 5 | |
GIF FTW!

scraper for humans.
scrape-it uses cheerio under the hood and makes it easier to scrape websites.
Get it: npm install [-g] scrape-it
Sample usage:
1 2 3 4 5 6 7 | |
GIF FTW

Use global object as a share singleton.
From the 🐴's mouth -> Sometimes you have to do horrible things, like use the global object to share a singleton. Abstract that away, with this!
global-cache attaches a cache to the global object. It attempts to make it as undiscoverable as possible:
uses Symbols if available
if not, uses a string key that is not a valid identifier, so as not to show up in dot-notation browser autocomplete
makes it non-enumerable if property descriptors are supported
keys are required to be strings or symbols.
Get it: npm install global-cache
Sample usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | |
GIT FTW!

⏰ Fast 2KB immutable date library.
dayjs is a minimalist JavaScript library for modern browsers with a largely Moment.js-compatible API, with:
🕒 Familiar Moment.js API & patterns 💪 Immutable 🔥 Chainable 📦 2kb mini library 👫 All browsers support
Get it: npm install dayjs
Sample usage:
1 2 3 4 5 6 7 | |
GIF FTW!

Match files and dirs using glob patterns.
tiny-glob is 🔥 extremely fast, 💪 powerful, 📦 tiny util to match files and folders using glob patterns.
Get it: npm install tiny-glob
Sample usage:
1 2 3 4 5 6 | |
Benchmark results:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
GIF FTW!

Easy accessibility audits powered by the Chrome Accessibility Tools
a11y conducts audits using the Chrome Accessibility Tools and PhantomJS and lists out the issues for a given URL.
Get it: npm install [-g] a11y
Sample CLI usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Sample API usage:
1 2 3 4 5 6 | |
GIF FTW

General purpose crypto utilities.
cryptiles provides util methods for creating cryptographically strong pseudo-random data with the below methods:
Get it: npm install cryptiles
Sample usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
GIF FTW!

Randomly fool with an
Erroron April 1st.
⚠️ This is a foolproof way to lose friends and alienate people. Will likely get you fired!
Few lines of code to have fun on April fools day:
1 2 3 4 5 6 7 8 9 | |
Related module -> sentencer.
Sample usage:
1 2 3 4 5 6 7 8 9 10 11 | |
GIF FTW
