MCPcopy
hub / github.com/facebook/fbjs

github.com/facebook/fbjs @eslint-config-fb-strict-v27.0.0 sqlite

repository ↗ · DeepWiki ↗ · release eslint-config-fb-strict-v27.0.0 ↗
399 symbols 793 edges 222 files 179 documented · 45%
README

FBJS

Purpose

To make it easier for Facebook to share and consume our own JavaScript. Primarily this will allow us to ship code without worrying too much about where it lives, keeping with the spirit of @providesModule but working in the broader JavaScript ecosystem.

Note: If you are consuming the code here and you are not also a Facebook project, be prepared for a bad time. APIs may appear or disappear and we may not follow semver strictly, though we will do our best to. This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. In order for us to move fast and ship projects like React and Relay, we've made the decision to not support everybody. We probably won't take your feature requests unless they align with our needs. There will be overlap in functionality here and in other open source projects.

License

FBJS and the other packages included here are MIT licensed, as found in the LICENSE file.

Core symbols most depended-on inside this repo

areEqual
called by 131
packages/fbjs/src/core/areEqual.js
push
called by 40
packages/fbjs/src/struct/Heap.js
invariant
called by 39
packages/fbjs/src/__forks__/invariant.js
isNode
called by 31
packages/fbjs/src/core/dom/isNode.js
getDirection
called by 26
packages/fbjs/src/unicode/UnicodeBidiService.js
then
called by 25
packages/fbjs/src/core/Deferred.js
get
called by 22
packages/fbjs/src/core/PromiseMap.js
resolve
called by 18
packages/fbjs/src/core/Deferred.js

Shape

Function 274
Method 93
Class 32

Languages

TypeScript100%

Modules by API surface

packages/fbjs/src/core/enumerate.js20 symbols
packages/fbjs/src/useragent/VersionRange.js18 symbols
packages/fbjs/src/struct/PrefixIntervalTree.js17 symbols
packages/fbjs/src/struct/IntegerBufferSet.js13 symbols
packages/fbjs/src/datatransfer/DataTransfer.js13 symbols
packages/fbjs/src/struct/Heap.js12 symbols
packages/fbjs/src/struct/__tests__/PrefixIntervalTree-test.js10 symbols
packages/fbjs/src/core/Deferred.js10 symbols
packages/fbjs/src/unicode/UnicodeUtilsExtra.js9 symbols
packages/fbjs/src/dom/DOMMouseMoveTracker.js9 symbols
packages/babel-preset-fbjs/plugins/inline-requires.js9 symbols
packages/fbjs/src/useragent/UserAgent.js8 symbols

Dependencies from manifests, versioned

@babel/core7.0.0 · 1×
@babel/eslint-parser7.18.2 · 1×
@babel/plugin-proposal-class-properties7.0.0 · 1×
@babel/plugin-proposal-object-rest-spread7.0.0 · 1×
@babel/plugin-syntax-class-properties7.0.0 · 1×
@babel/plugin-syntax-flow7.0.0 · 1×
@babel/plugin-syntax-jsx7.0.0 · 1×
@babel/plugin-syntax-object-rest-spread7.0.0 · 1×
@babel/plugin-transform-arrow-functions7.0.0 · 1×
@babel/plugin-transform-block-scoped-functions7.0.0 · 1×
@babel/plugin-transform-block-scoping7.0.0 · 1×
@babel/plugin-transform-classes7.0.0 · 1×

For agents

$ claude mcp add fbjs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact