Skip to content

Instantly share code, notes, and snippets.

View PawanKolhe's full-sized avatar
Pushing pixels & shipping commits

Pawan Kolhe PawanKolhe

Pushing pixels & shipping commits
View GitHub Profile
@gokulkrishh
gokulkrishh / useful-npx-commands.md
Last active April 15, 2026 15:12
List of useful npx (Node Package Runner) commands (https://git.io/useful-npx-commands)

NPX (NPM Package Runner) Commands

List of useful npx (NPM Package Runner) commands.

What is NPX?

Using NPX we can execute/run node binaries without the need to install it locally or globally.

Commands

@demonixis
demonixis / toggleFullscreen.js
Created March 18, 2013 16:07
A simple function to toggle fullscreen in JavaScript. It work well on Firefox and Webkit browsers.
/**
* Toggle fullscreen function who work with webkit and firefox.
* @function toggleFullscreen
* @param {Object} event
*/
function toggleFullscreen(event) {
var element = document.body;
if (event instanceof HTMLElement) {
element = event;