gitwtfhub

wtf is tfjs-core?

tensorflow/tfjs-core — explained in plain English

Analysis updated 2026-06-24

8,446TypeScriptAudience · developerComplexity · 1/5Setup · hard

TL;DR

This is an archived predecessor to TensorFlow.js, the original browser-based machine learning library for JavaScript. All development has moved to the tensorflow/tfjs repository, no new contributions are accepted here.

Mindmap

mindmap
  root((tfjs-core))
    What it is
      Archived repo
      Original TF.js core
      History preserved
    Status
      No new contributions
      Moved to tensorflow/tfjs
      Read-only
    Where to go
      tensorflow/tfjs repo
      tfjs-core subfolder
    Audience
      Curious developers
      Researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Browse the original source code and commit history of TensorFlow.js before it merged into the combined tensorflow/tfjs repository.

REASON 2

Reference historical API decisions from the early TensorFlow.js core for research or migration purposes.

What's in the stack?

TypeScript

How it stacks up

tensorflow/tfjs-coregarmeeh/next-seohopding/pdf-lib
Stars8,4468,4438,443
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardeasyeasy
Complexity1/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1day+

This repository is archived and unmaintained, all active development is in tensorflow/tfjs, use that instead.

Wtf does this do

This repository is an archived predecessor to the main TensorFlow.js project. It originally housed the core layer of TensorFlow.js, a library for running machine learning models directly in a web browser using JavaScript. The code has since been moved into a combined repository at tensorflow/tfjs, inside a folder called tfjs-core, where all future development continues. The README is sparse because this repo is no longer active. No new contributions are accepted here. The full history of commits and contributions from this repository was carried over intact to the new location.

Yoink these prompts

Prompt 1
Show me how to import and use TensorFlow.js in a browser project today using the current tensorflow/tfjs package instead of this archived repo.
Prompt 2
What changed when tfjs-core was merged into the main tensorflow/tfjs monorepo, and where do I find the equivalent source now?
Prompt 3
Write a simple browser example that loads a pre-trained model and runs inference using the current tensorflow/tfjs package.

Frequently asked questions

wtf is tfjs-core?

This is an archived predecessor to TensorFlow.js, the original browser-based machine learning library for JavaScript. All development has moved to the tensorflow/tfjs repository, no new contributions are accepted here.

What language is tfjs-core written in?

Mainly TypeScript. The stack also includes TypeScript.

How hard is tfjs-core to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is tfjs-core for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.