Basedpyright is a fork of pyright with various type checking improvements, pylance features and more.
it's recommended to install basedpyright via pypi rather than npm. see here for more information.
the basedpyright npm package is intended for users who are unable to use the pypi package for some reason, for example if you're using an operating system not supported by nodejs-wheel or a version of python older than 3.8.