shields.io is a service to display some metrics for a given package in a image. For instance:
https://img.shields.io/npm/dm/automatta.svg?style=flat-square
https://img.shields.io/npm/v/automatta.svg?style=flat-square
#!/usr/bin/env node | |
console.log({ author: 'Fran', when: new Date() }); |
shields.io is a service to display some metrics for a given package in a image. For instance:
https://img.shields.io/npm/dm/automatta.svg?style=flat-square
https://img.shields.io/npm/v/automatta.svg?style=flat-square
Dump Repo 2 |
Dumb repo 1 |
["Laia", "Ignasi", "Pedro", "Isra", "Ramon", "Clare"] |
Sometimes, we need to serialize some object keys which have an undefined
value. In the default implementation, this is not possible.
const realA = { a: undefined };
const realB = undefined;
const a = JSON.parse(JSON.stringify(realA); // returns {}
Object.keys(a); // returns []
Object.keys(realA); // returns ['a']
Object.keys(window).filter(function(key, val){ return window[key] && window[key].toString().indexOf('[native code]') === -1 }) |
plugins=(git jsontools autojump coffee colored-man-pages emoji encode64 iwhois themes) |
{ | |
"100": "score, perfect, numbers, century, exam, quiz, test, pass, hundred", | |
"1234": "numbers, blue-square", | |
"bowtie": "classy, bow, face, formal, fashion, suit, magic, circus", | |
"smile": "happy, cheerful, face, joy, funny, haha, laugh, like", | |
"laughing": "lol, funny, happy, joy, satisfied, haha, face, glad", | |
"blush": "face, smile, happy, flushed, crush, embarrassed, shy, joy", | |
"smiley": "funny, face, happy, joy, haha", | |
"relaxed": "face, blush, massage, happiness", | |
"smirk": "face, smile, mean, prank, smug, sarcasm", |