- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
27 lines
551 B
JavaScript
27 lines
551 B
JavaScript
/* eslint-disable no-var, comma-dangle */
|
|
var Reflect; // eslint-disable-line no-unused-vars
|
|
var idObj;
|
|
|
|
function checkIsNodeV6OrAbove() {
|
|
if (typeof process === 'undefined') {
|
|
return false;
|
|
}
|
|
|
|
return parseInt(process.versions.node.split('.')[0], 10) >= 6;
|
|
}
|
|
|
|
if (!checkIsNodeV6OrAbove()) {
|
|
Reflect = require('harmony-reflect'); // eslint-disable-line global-require
|
|
}
|
|
|
|
idObj = new Proxy({}, {
|
|
get: function getter(target, key) {
|
|
if (key === '__esModule') {
|
|
return false;
|
|
}
|
|
return key;
|
|
}
|
|
});
|
|
|
|
module.exports = idObj;
|