Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
blockstore-s3
Advanced tools
IPFS blockstore implementation backed by s3
A Blockstore implementation that stores blocks on Amazon S3.
If the flag createIfMissing
is not set or is false, then the bucket must be created prior to using blockstore-s3. Please see the AWS docs for information on how to configure the S3 instance. A bucket name is required to be set at the s3 instance level, see the below example.
import S3 from 'aws-sdk/clients/s3.js'
import { S3Blockstore } from 'blockstore-s3'
const s3Instance = new S3({ params: { Bucket: 'my-ipfs-bucket' } })
const store = new S3Blockstore('.ipfs/datastore', {
s3: s3Instance
createIfMissing: false
})
Using with Helia
See [examples/helia](./examples/helia) for a full example of how to use Helia with an S3 backed blockstore.
$ npm i blockstore-s3
<script>
tagLoading this module through a script tag will make it's exports available as BlockstoreS3
in the global namespace.
<script src="https://unpkg.com/blockstore-s3/dist/index.min.js"></script>
Licensed under either of
Contributions welcome! Please check out the issues.
Also see our contributing document for more information on how we work, and about contributing in general.
Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
FAQs
IPFS blockstore implementation backed by s3
The npm package blockstore-s3 receives a total of 50 weekly downloads. As such, blockstore-s3 popularity was classified as not popular.
We found that blockstore-s3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.