mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 11:31:31 +08:00
- Update ESLint - Update typescript-eslint - Update eslint-plugin-import - Update Stylelint standard config R=jacktfranklin@chromium.org DISABLE_THIRD_PARTY_CHECK=ESLint fix Bug: none Change-Id: Ic1efac8b4f7b085b8f2b792a76b8b99b9f583da3 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3158225 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
is-core-module 
Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.
Example
var isCore = require('is-core-module');
var assert = require('assert');
assert(isCore('fs'));
assert(!isCore('butts'));
Tests
Clone the repo, npm install, and run npm test
