mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 12:01:40 +08:00
DISABLE_THIRD_PARTY_CHECK=update Puppeteer Also-By: tvanderlippe@chromium.org Change-Id: I4ddb6a2b426bcde95f9b764790e88b560441225c Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2187209 Commit-Queue: Mathias Bynens <mathias@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
528 B
528 B
fs-constants
Small module that allows you to get the fs constants across Node and the browser.
npm install fs-constants
Previously you would use require('constants') for this in node but that has been
deprecated and changed to require('fs').constants which does not browserify.
This module uses require('constants') in the browser and require('fs').constants in node to work around this
Usage
var constants = require('fs-constants')
console.log('constants:', constants)
License
MIT