mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
7 lines
203 B
JavaScript
7 lines
203 B
JavaScript
/* eslint-disable */
|
|
const isElectron = require('is-electron')
|
|
|
|
const fs = (!isElectron() && (typeof window === 'object' || typeof self === 'object')) ? null : eval('require("fs")')
|
|
|
|
module.exports = fs
|