basedpyright is a pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server.
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.