Completed
Push — master ( ee7956...a1d8a9 )
by Sand
01:08
created

examples/list-files.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 12
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 0
wmc 1
nc 1
mnd 0
bc 1
fnc 1
dl 0
loc 12
rs 10
bpm 1
cpm 1
noi 1
c 1
b 0
f 1
1
2
'use strict';
3
4
const Sandcage = require('..');
5
6
const sandcage = new Sandcage('[YOUR SANDCAGE API KEY]');
7
const payload = {};
8
9
sandcage
10
  .listFiles(payload)
11
  .then((result) => {
12
    console.log(result);
13
  });