This package has all constants from the Python SciPy library and can be used in JS environments.
npm i sci-js-constants
import { Planck, speed_of_light, physical_constants } from "sci-js-constants";
const luminous_efficacy = physical_constants["luminous efficacy"][0];