Web3Stash is a standard library to get a single API to connect to multiple decentralized storage service providers. If you are looking to connect to blockchain services like ipfs, helia, pinata, nft.storage, arweave, bundlr, etc but don't want to read their docs and set them up individually, You can use this package to connect to any of these services. The best part is all the configuration settings and uploads functions are almost the same across all the services.
To ensure a common interface among all services, a base class is implemented. This base class serves as a blueprint and provides common functionality and properties that are inherited by the individual service classes. This promotes code reuse and maintainability.
Using TypeScript, developers benefit from static type checking, allowing for early detection of errors and improved code reliability.