node 134 titles

log in
async mod exp; async(a)=>{}; g=require("gld")(a); g.then(r=>{return r} )
async
1082
delete npm prefix
npm
1077
fs.existsSync(dir,e=>{return 0})
fs
1076
LTS v10.24.1
node
1070
let unique = [...new Set(myArray)];
arr
1053
enospc -> pkill -f node
nodemon
1051
nvm ls; nvm alias default node v10.23.2
nvm
1049
pm2 l --sort id
pm2
1048
resolve of undefined -> npm cache verify
npm
1046
module.exports=(a,b)=>a.filter(e=>!b.includes(e))
arr
1041
readdirSync(dir)
fs
1040
console.dir(array, {depth: null, colors: true, maxArrayLength: null});
console
1037
readdir(dir,func)
fs
1032
file2array - var array = fs.readFileSync('file.txt', 'utf8').split('\n');
fs
1028
npm config get prefix ; $NVM_DIR/versions/node/v10.12.0
npm
1021
export PATH="$home/.nvm/versions/node/v14.5.0/lib/node_modules:$PATH"
npm
1017
module.exports=()=>{ const exf = execFile(__dirname+'/scr/tou.sh', (e,o,e)=> e? cl(e):0)}
execFile
1016
fs.writeFile(__dirname+"/../pub/2.png",png,"base64",cb)
fs
999
var bitmap = new Buffer(base64str, 'base64');
base64
998
nvm install --lts
nvm
996
latest 32bit - v9.11.2
node
995
let buf=new Buffer.alloc(Number(bod.siz),bod.cou)
buf
976
BINARYEN_ROOT is set to empty value in /mnt/home/.emscripten
ems
952
./emsdk install latest
ems
951
fs.mkdir(d2,{recursive:true},(e)=>n(e))
fs
950
let jsdom = require('jsdom').JSDOM;
jsdom
940
const ex= util.promisify(require('child_process').execFile);
child
926
execFile > exec; no shell spawning
child
925
execFile("youtube-dl", [opt], (err, stdout, stderr) =>{}
proc
920
npm i se-scraper - FASTer than puppeteer
pup
916
<button onclick="wavesurfer.play()">Play</button>
ws
913
chalk.blue('Hello world!')
chalk
912
module.exports=(arg2)=>execFile("mkdir",[arg2],(err,std,ste)=>{})
proc
911
var dl=wget.download(url,out)
wget-improved
909
FgMagenta = "\x1b[35m"
console
901
,uid=require("uuid").v1()
uuid
897
debian requirement for puppeteer
pup
887
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
axios
879
full url: req.protocol + '://' + req.get('host') + req.originalUrl
req
878
exp-req-lang
mid
877
export NODE_PATH=`npm root -g`
node
872
rt.get('/auth/'+prv+'/callback', pst.authenticate(prv, {successRedirect: '/', failureRedirect: '/',failureFlash:true }) )
pass
870
module .exports=class My()
mod
867
pm2 start bin/www -n myname
pm2
863
.npmignore > .gitignore
npm
850
usr?sess.usr=usr:usr=null
sess
835
npm install velocity-animate
npm
833
webpack-cli --entry ./$1 -o $2
wpk
820
import Ini from "./ini"
import
818
pm2 restart id -n newname;
pm2
815
bower install components-font-awesome --save
fa
787
npm install --save-dev @fortawesome/fontawesome-pro
npm
786
passport twit ex1 -- works
passport
768
readFileSync > readFile(async, cant take out value)
fs
762
nodejs-shopping-cart
repo
761
<%= : escapes value, <%- : renders html
ejs
747
vi .eslintrc.json; {"rules": { "no-console":"off" }}
eslint
734
npm init; eslint --init
eslint
733
eslint my.js
npm
732
cookieLangName=ulang
express-i18n
713
git clone git://github.com/mjrusso/livestreaming-js.git
video
712
fs.readFile(son,"utf8", function(err,dat) {res=date; proc()}, function proc(){ console.log(res)};return res;
fs
700
var uni= enc.convert(tx2, "unicode","auto")
npm
691
npm i -S ccxt
npm
687
async function f() { return 1; }; f().then(console.log);
async
676
var arg2=process.argv[2]
arg
675
npm i rellax
npm
655
date-fns > moment
date
645
npm i -S scroll-parallax
npm
636
curl2nodejs
curl
627
$(npm bin)browserify
npm
611
module.exports=age
module
589
const arr=[1,2,3]; modules.exports=arr;
module
570
git clone pornhub-downloader
cheerio
568
jsx closing tag
err
555
module.exports = abc;
exports
546
module.exports={ enHell: function() { return "HELLO"; }}
exports
543
youtube-search > youtube-node
youtube
536
var QRCode = require('qrcode')
qrcode
527
flavio copes
tut
522
npm trends
npm
521
nem-voting - npm
nem
520
traspile : npx babel src/index.js -o dis/index.js
npx
510
var Scraper = require ('images-scraper') , bing = new Scraper.Bing();
npm
505
node-wget : wget({url: url, dest: "img/"}, cb);
node-wget
504
let ex=require('child_process').execFile
execFile
492
spawn - convert
spawn
491
practicalnode
tut
486
npm i -S hoek@4.2.1
hoek
476
var exec = require('child_process').exec;
exec
468
const wiki = require('wikijs').default({ apiUrl : 'http://en.wikipedia.org/w/api.php' });
wikijs
465
wiki.page.data("Roy Choi", { content: true }, function(res) {console.log(res.text)}
node-wikipedia
464
npm install --save-dev babel-cli babel-preset-env rimraf
babel
462
youtube-search ex1
you
454
nvm is not compatible with the npm config “prefix” option:
nvm
442
npm config delete prefix
nvm
440
npm pack - create tarball
npm
439
fs.readFile(son,utf8,cb)
fs
435
fs.readFile(son,"utf8", function(err,dat) {console.log(dat)
fs
434
nvm alias default 10.8
nvm
425
exports-vs-module-exports
module
424
youtube-dl --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" "$i"
youtube
423
one().then(() => two()).then(() => three()); then is a promise method
promise
411
npm i -S youtube-captions-scraper
npm
410
ins.sh yarn
yarn
409
console.log(info);
mail
401
transporter.sendMail(message, (error, info) => {...}
mail
400
exp-face ex; passport
passport
381
process.nextTick(function() {...}
event
380
exp loc example
passport
379
module.exports = log - local module
module
374
learn-mocha, cowboy
mocha
366
patch 1.0.x -> 1.0.4
npm
356
client.post("http://remote.site/rest/xml/method", args, function (data, response) {console.log(dat)}
node-rest-client
352
async: fs.realFile("my.txt","utf8", cb);
fs
345
Error: Cannot find module '../build/Release/bson
allcount
343
npm install -g allcountjs-cli
allcountjs
341
allcountjs
allcountjs
339
npm i -g @angular/cli
ang
327
npm install paypal-rest-sdk
paypal
315
chrome-remote-interface + minimist
chrome
308
nvm alias default 6.1.0
nvm
304
browserify main.js -o bundle.js
js
303
const pro = spawn(__dirname+'/tes.sh');
proc
300
node --experimental-modules my-app.mjs
esm
281
nvm list
nvm
278
Browserify vs Webpack
brow
275
export NVM_DIR="$HOME/.nvm"
nvm
274
npm i postcss@5.0.8
postcss
273
git clone git://github.com/creationix/nvm.git ~/.nvm
nvm
272
build v4.2.4
node
246
npm install -g yo generator-hubot
hubot
201
npm i -g npm
npm
176
windows-registry
windows
24