Importer tous les var js

// instead of importing json file use this:
import * as myVar from 'module'

myVar.test('do some thig')
const newVar = myVar.test2
Radmehr Aghdam