Socialify

Folder ..

Viewing coveralls.js
22 lines (16 loc) • 322.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env node

'use strict';

const { handleInput } = require('..');

process.stdin.resume();
process.stdin.setEncoding('utf8');

let input = '';

process.stdin.on('data', chunk => {
  input += chunk;
});

process.stdin.on('end', () => {
  handleInput(input, err => {
    if (err) {
      throw err;
    }
  });
});