Skip to content

Instantly share code, notes, and snippets.

@gBasil
gBasil / Yarnify
Created April 17, 2022 05:27
Evangelize yarn! A userscript to swap the npm install snippet with yarn.
// ==UserScript==
// @name Yarnify
// @namespace http://gbasil.dev/
// @version 1.0
// @description Evangelize yarn! Replace the npm install with yarn, and affix --dev to type definitions.
// @author Basil
// @match https://www.npmjs.com/package/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=npmjs.com
// @grant none
// ==/UserScript==