aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinigami92 <[email protected]>2022-01-14 19:44:53 +0100
committerDamien Retzinger <[email protected]>2022-01-14 18:37:49 -0500
commit51fbb752d9d63247b5dcda6122812725cf75caa6 (patch)
tree426d5a6f323d15fab936ea9ce8bd27c14a25e680
parentd788ade0a0a8cd36b7f7d2033f229a251d3b5551 (diff)
downloadfaker-51fbb752d9d63247b5dcda6122812725cf75caa6.tar.xz
faker-51fbb752d9d63247b5dcda6122812725cf75caa6.zip
chore: directly use constructor
-rw-r--r--index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.js b/index.js
index 1903029e..524ef7da 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
'use strict';
// since we are requiring the top level of faker, load all locales by default
-var lib_1 = require('./lib');
-var faker = new lib_1.Faker({ locales: require('./lib/locales') });
+var Faker = require('./lib');
+var faker = new Faker({ locales: require('./lib/locales') });
module.exports = faker;