Skip to content

Instantly share code, notes, and snippets.

View sosloow's full-sized avatar

Stepan Shilin sosloow

View GitHub Profile
@sosloow
sosloow / install.js
Created September 8, 2017 13:15
npm install for low memory
#!/usr/bin/env node
const {execSync} = require('child_process');
const fs = require('fs');
const path = require('path');
const semver = require('semver');
const {format} = require('util');
const project = require(process.cwd() + '/package.json');
const deps = project.dependencies;
// ==UserScript==
// @name iichan.hk search
// @description iichan.hk search
// @author :^)
// @version 0.1
// @include http://iichan.hk/*
// ==/UserScript==
(function() {
'use strict';