Gathering detailed insights and metrics for @mdn/bob
Gathering detailed insights and metrics for @mdn/bob
Gathering detailed insights and metrics for @mdn/bob
Gathering detailed insights and metrics for @mdn/bob
(Deprecated) Builder of Bits, powered MDN's interactive examples 2018–2025
npm install @mdn/bob
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (54.44%)
CSS (19.94%)
JavaScript (14.17%)
HTML (10.79%)
WebAssembly (0.58%)
Rust (0.09%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
75 Stars
2,253 Commits
48 Forks
12 Watchers
16 Branches
37 Contributors
Updated on Jul 08, 2025
Latest Version
6.0.1
Package Id
@mdn/bob@6.0.1
Unpacked Size
1.40 MB
Size
635.28 kB
File Count
129
NPM Version
10.8.2
Node Version
20.19.1
Published on
May 14, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
25
30
[!IMPORTANT] As of March 2025, BoB is no longer used on MDN.
As of May 2025, BoB is no longer maintained, and deprecated.
For more information, see https://github.com/orgs/mdn/discussions/782.
Builder of Bits aka The MDN Web Docs interactive examples example builder.
If you want to contribute to BoB, please follow these steps:
Thank you for your interest in contributing to MDN Web Docs.
NOTE: By contributing to BoB and MDN Web Docs you acknowledge that you have read and agree to our code of conduct.
-editor # All files related to the interactive examples editor
|--> css
|--> js
|--> media # media used only by the editor
|--> tmpl
-live-examples # All example related files and media (only used for testing purposes)
|--> css-examples
|--> fonts # fonts used by the editor and examples
|--> html-examples
|--> js-examples
|--> mathml-examples
|--> media # media used only by the examples
-docs
|--> css # All editor related CSS
|--> js # All editor related JS
|--> live-examples # All custom CSS and JS for the examples
|--> media # All media and fonts for the examples
|--> pages # All generated interactive example pages
|----> css # All CSS examples
|----> js # All JS examples
|----> tabbed # All examples using the tabbed UI
|----> wat # WebAssembly examples
|----> mathml # MathML examples
|----> webapi-tabbed # Web API examples (not currently used in production)
As mentioned above, this repository contains a couple of representative examples that you can use to test Bob. For most use cases, this should be enough and allow you to test your changes without installing BoB locally and integrating it with the interactive examples repository.
To test your changes, run:
npm start
You should see output similar to the following:
1MDN-BOB: Cleaning or creating ./docs/.... 2MDN-BOB: Copying static assets.... 3MDN-BOB: Compiling editor JavaScript.... 4MDN-BOB: ../editor/js/editable-css-bundle.js written to disk 5MDN-BOB: ../editor/js/editable-js-bundle.js written to disk 6MDN-BOB: ../editor/js/editable-wat-bundle.js written to disk 7MDN-BOB: ../editor/js/editor-bundle.js written to disk 8MDN-BOB: Pages built successfully
This will build the local examples and startup a local server serving the examples. Navigate to localhost:4444 and open one of the examples to test your changes.
When working on changes to BoB, you might need to test against more examples than those that are a part of this repository. In those cases, you will need to run a local version of Bob inside the interactive-examples repo. Use the following command from the root of your local copy of the interactive-examples repo:
npx install-local ~/path/to/bob && node node_modules/.bin/mdn-bob
If you get stuck while working on BoB, there are a couple of ways to get help.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
binaries present in source code
Details
Reason
2 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
project is archived
Details
Reason
Found 0/1 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More