The training dataset is a fundamental building block of the machine learning pipeline. Importing the variety of datasets without difficulty surely improves our productivity. tfjs-data is an analog library of tf.data in TensorFlow. It makes data loading simply by providing a uniform way of accessing the training data. As the library is contained by the core library of TensorFlow.js, tfjs-data will be available when you install @tensorflow/tfjs:
yarn add @tensorflow/tfjs