</>PackageGraphPackageGraph

fbjs

npmv3.0.5

A collection of utility libraries used by other Facebook JS projects

Not recommended for new projects

No — fbjs should not be adopted for new projects. Last published 1196 days ago. MIT itself, but AGPL-3.0-or-later appears in the dependency tree.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1196 days ago.

  • BWeight: grade B, Good.

    Pulls in 17 transitive packages, about 2.1 MB installed (at least — some of the tree is still being crawled).

  • ASupply chain: grade A, Excellent.

    No install scripts, 8 maintainers, and a contained dependency surface.

  • CLicense: grade C, Fair — worth a look.

    MIT itself, but AGPL-3.0-or-later appears in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding fbjs to a project.

7
Direct dependencies

Runtime packages this one declares itself.

17
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

2.1 MB
Install size

Unpacked size of this package plus its entire runtime tree.

4
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

AGPL-3.0-or-laterMIT

Every license you inherit by installing fbjs, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the fbjs README.

// Before transform
const emptyFunction = require('emptyFunction');
// After transform
const emptyFunction = require('fbjs/lib/emptyFunction');

Dependencies

Declared by fbjs v3.0.5. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (12)

@babel/core ^7.1.5babel-preset-fbjs file:../babel-preset-fbjsdel ^2.2.0fbjs-scripts file:../fbjs-scriptsflow-bin ^0.99.0gulp ^4.0.2gulp-babel ^8.0.0gulp-flatten ^0.4.0gulp-rename ^2.0.0immutable ^3.7.6jest-cli ^23.6.0merge-stream ^1.0.0

Used by

Popular packages that depend on fbjs.

Relationship graph

Dependencies (left) and dependents (right) of fbjs.

Frequently installed together

Release history

No releases in the last two years, typically about 48 days apart.

Recent versions of fbjs
VersionPublishedSizeLicense
3.0.5latest3 years ago431 KBMIT
3.0.44 years ago434 KBMIT
3.0.34 years ago6.4 KBMIT
3.0.24 years ago431 KBMIT
0.8.184 years ago347 KBMIT
3.0.14 years ago430 KBMIT
3.0.06 years ago430 KBMIT
2.0.06 years ago431 KBMIT
1.0.08 years ago431 KBMIT
0.8.178 years ago347 KBMIT
0.8.169 years agoMIT
0.8.159 years agoBSD-3-Clause
0.8.149 years agoBSD-3-Clause
0.8.139 years agoBSD-3-Clause
0.9.0-alpha.29 years agoBSD-3-Clause

Overview

fbjs is an npm package that a collection of utility libraries used by other Facebook JS projects. It has 1 known dependents in the graph. The latest version is 3.0.5, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a collection of utility libraries used by other Facebook JS projects and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • Large dependency tree (19 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use fbjs?

No — fbjs should not be adopted for new projects. Last published 1196 days ago. MIT itself, but AGPL-3.0-or-later appears in the dependency tree.

How do I install fbjs?

Run `npm install fbjs` to add fbjs to your npm project.

How many dependencies does fbjs have?

fbjs declares 19 direct dependencies and pulls in 17 packages in total once its runtime tree is resolved totalling about 2.1 MB on disk.

What license is fbjs released under?

fbjs is distributed under the MIT license. Its dependency tree also includes: AGPL-3.0-or-later, MIT.

How popular is fbjs?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on fbjs.

Is fbjs still maintained?

The most recent release of fbjs (v3.0.5) was published 3 years ago.

Does fbjs run install scripts?

No. fbjs does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.