Transformers.js How to use Xenova/mobilevit-small with Transformers.js:
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';
// Allocate pipeline
const pipe = await pipeline('image-classification', 'Xenova/mobilevit-small');