<commit_before>import Transloadit from '../../../../src/core';
import { DragDrop, Tus10 } from '../../../../src/plugins';

const transloadit = new Transloadit({wait: false});
const files = transloadit
  .use(DragDrop, {selector: '#upload-target'})
  .use(Tus10, {endpoint: 'http://master.tus.io:8080'})
  .run();

// console.log('--> Finished transloadit. Final result: ');
// console.dir(files);

// var Transloadit = require('./src/core/Transloadit.js');
// var DragDrop = require('./src/plugins/DragDrop.js');
// var Tus10 = require('./src/plugins/Tus10.js');
//
// var transloadit = new Transloadit({wait: false});
// var files = transloadit
//   .use(DragDrop, {modal: true})
//   .use(Tus10, {endpoint: 'http://master.tus.io:8080'})
//   .run();
//
// console.log('--> Finished transloadit. Final result: ');
// console.dir(files);
<commit_msg>My name is Uppy now<commit_after>import Uppy from '../../../../src/core';
import { DragDrop, Tus10 } from '../../../../src/plugins';

const uppy = new Uppy({wait: false});
const files = uppy
  .use(DragDrop, {selector: '#upload-target'})
  .use(Tus10, {endpoint: 'http://master.tus.io:8080'})
  .run();

{'fraction_non_alphanumeric': 0.24024284475281873, 'fraction_numerical': 0.022549869904596703, 'mean_word_length': 3.3059701492537314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7638669', 'n_tokens_mistral': 418, 'n_tokens_neox': 399, 'n_words': 88}