max-buffer
This file
Path
fixtures/max-buffer
6 lines · 159 bytes
Last changed by
[BREAKING] ES2015ify and require Node.js 4Sindre Sorhusbefore adoption8a7a51c
History of this fileTake it
add max-buffer support (#37)James Talmagebefore adoption6288806
lines 1–2why, one step back1#!/usr/bin/env node2'use strict';[BREAKING] ES2015ify and require Node.js 4Sindre Sorhusbefore adoption8a7a51c
lines 3–4why, one step back3const output = process.argv[2];4const bytes = Number(process.argv[3]);add max-buffer support (#37)James Talmagebefore adoption6288806
line 5why, one step back5[BREAKING] ES2015ify and require Node.js 4Sindre Sorhusbefore adoption8a7a51c
line 6why, one step back6process[output].write('.'.repeat(bytes - 1) + '\n');