face-api.esm.js is @vladmandic/face-api 1.7.15 (MIT, LICENSE.txt here), unchanged, from the npm package. It bundles TensorFlow.js (Apache License 2.0; the licence text is /vendor/LICENSE.txt). The model files in /models/faceapi/ come from the same package. The face recognition weights are dlib's (dlib_face_recognition_resnet_model_v1), which Davis King released into the public domain (README of github.com/davisking/dlib-models); the README of face-api.js, the project this package continues, says the weights were trained by davisking.