Block or Report
Block or report Jonathan-Dobson
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
use flags in nodejs shell script. Co...
use flags in nodejs shell script. Converts all flags that have double-dash into keys with the value being the following argument 1#!/usr/bin/env node
2const args = process.argv.reduce((p, c, i, a) => {
3const key = a[i - 1];
4const value = /--\w/.test(key) && c;
5return value ? { ...p, [key.slice(2)]: value } : p;
-
Open browser from node script
Open browser from node script 1#!/usr/bin/env node
23const url = 'http://localhost'
4require('child_process')
5.exec((process.platform
-
-
gameboy
gameboy Publicgameboy style made with HTML and CSS for use in building gameboy lookalike games
CSS
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.